summaryrefslogtreecommitdiffstats
path: root/src/spdk/dpdk/drivers/net/dpaa/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/spdk/dpdk/drivers/net/dpaa/meson.build')
-rw-r--r--src/spdk/dpdk/drivers/net/dpaa/meson.build17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/spdk/dpdk/drivers/net/dpaa/meson.build b/src/spdk/dpdk/drivers/net/dpaa/meson.build
new file mode 100644
index 000000000..271416f08
--- /dev/null
+++ b/src/spdk/dpdk/drivers/net/dpaa/meson.build
@@ -0,0 +1,17 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright 2018 NXP
+
+if not is_linux
+ build = false
+ reason = 'only supported on linux'
+endif
+deps += ['mempool_dpaa']
+
+sources = files('dpaa_ethdev.c',
+ 'dpaa_rxtx.c')
+
+if cc.has_argument('-Wno-pointer-arith')
+ cflags += '-Wno-pointer-arith'
+endif
+
+install_headers('rte_pmd_dpaa.h')