1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2018-2020 Intel Corporation
4 IMB_required_ver = '0.53.0'
5 lib = cc.find_library('IPSec_MB', required: false)
8 reason = 'missing dependency, "libIPSec_MB"'
10 # version comes with quotes, so we split based on " and take the middle
11 imb_ver = cc.get_define('IMB_VERSION_STR',
12 prefix : '#include<intel-ipsec-mb.h>').split('"')[1]
14 if (imb_ver == '') or (imb_ver.version_compare('<' + IMB_required_ver))
15 reason = 'IPSec_MB version >= @0@ is required, found version @1@'.format(
16 IMB_required_ver, imb_ver)
23 sources = files('rte_zuc_pmd.c', 'rte_zuc_pmd_ops.c')