0c56257a61
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>
28 lines
549 B
Meson
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'
|
|
)
|