1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2018 Intel Corporation
4 # meson file, for building this example as part of a main DPDK build.
6 # To build this example as a standalone application with an already-installed
7 # DPDK instance, use 'make'
9 if not dpdk_conf.has('RTE_LIB_POWER')
16 if dpdk_conf.has('RTE_NET_BNXT')
20 if dpdk_conf.has('RTE_NET_I40E')
24 if dpdk_conf.has('RTE_NET_IXGBE')
28 allow_experimental_apis = true
38 # If we're on X86, pull in the x86 code for the branch monitor algo.
39 if dpdk_conf.has('RTE_ARCH_X86_64')
40 sources += files('oob_monitor_x86.c')
42 sources += files('oob_monitor_nop.c')
45 opt_dep = cc.find_library('virt', required : false)
46 build = opt_dep.found()
49 opt_dep = dependency('jansson', required : false, method: 'pkg-config')
52 cflags += '-DUSE_JANSSON'