summaryrefslogtreecommitdiff
path: root/lib/librte_port
diff options
context:
space:
mode:
authorBruce Richardson <bruce.richardson@intel.com>2018-03-29 14:48:47 +0100
committerBruce Richardson <bruce.richardson@intel.com>2018-04-17 16:09:43 +0200
commit629dbf2aa37a070dede337acf273e11a25e96001 (patch)
treec9c076742e7c47812a9a6996677e3508fab09b1d /lib/librte_port
parent3f708560fec4d96bc4ad892fd58815600ed79eef (diff)
downloaddpdk-next-eventdev-629dbf2aa37a070dede337acf273e11a25e96001.zip
dpdk-next-eventdev-629dbf2aa37a070dede337acf273e11a25e96001.tar.gz
dpdk-next-eventdev-629dbf2aa37a070dede337acf273e11a25e96001.tar.xz
build: remove checks for non-optional libraries
Unless a library cannot be built for a specific platform (generally BSD), it will always be available. Therefore remove checks for IP fragmentation and ACL libraries, since these are built for all platforms. Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Diffstat (limited to 'lib/librte_port')
-rw-r--r--lib/librte_port/meson.build12
1 files changed, 5 insertions, 7 deletions
diff --git a/lib/librte_port/meson.build b/lib/librte_port/meson.build
index debb5eb..f3d8b44 100644
--- a/lib/librte_port/meson.build
+++ b/lib/librte_port/meson.build
@@ -5,23 +5,21 @@ version = 3
sources = files(
'rte_port_ethdev.c',
'rte_port_fd.c',
+ 'rte_port_frag.c',
+ 'rte_port_ras.c',
'rte_port_ring.c',
'rte_port_sched.c',
'rte_port_source_sink.c')
headers = files(
'rte_port_ethdev.h',
'rte_port_fd.h',
+ 'rte_port_frag.h',
+ 'rte_port_ras.h',
'rte_port.h',
'rte_port_ring.h',
'rte_port_sched.h',
'rte_port_source_sink.h')
-deps += ['ethdev', 'sched']
-
-if dpdk_conf.has('RTE_LIBRTE_IP_FRAG')
- sources += files('rte_port_frag.c', 'rte_port_ras.c')
- headers += files('rte_port_frag.h', 'rte_port_ras.h')
- deps += ['ip_frag']
-endif
+deps += ['ethdev', 'sched', 'ip_frag']
if dpdk_conf.has('RTE_LIBRTE_KNI')
sources += files('rte_port_kni.c')