numam-dpdk/examples/ip_pipeline/meson.build
Bruce Richardson 0c56257a61 examples/ip_pipeline: disable build when no epoll
The ip_pipeline example requires the epoll.h header from linux, so
disable building the example if the header cannot be found.

Fixes: 4bbf8e30aa ("examples/ip_pipeline: add CLI interface")
Cc: stable@dpdk.org

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
2019-02-26 16:22:49 +01:00

28 lines
549 B
Meson

# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017-2018 Intel Corporation
# meson file, for building this example as part of a main DPDK build.
#
# To build this example as a standalone application with an already-installed
# DPDK instance, use 'make'
build = cc.has_header('sys/epoll.h')
deps += ['pipeline', 'bus_pci']
allow_experimental_apis = true
sources = files(
'action.c',
'cli.c',
'conn.c',
'kni.c',
'link.c',
'main.c',
'mempool.c',
'parser.c',
'pipeline.c',
'swq.c',
'tap.c',
'thread.c',
'tmgr.c',
'cryptodev.c'
)