summaryrefslogtreecommitdiffstats
path: root/src/seastar/dpdk/kernel/linux/kni/Kbuild
diff options
context:
space:
mode:
Diffstat (limited to 'src/seastar/dpdk/kernel/linux/kni/Kbuild')
-rw-r--r--src/seastar/dpdk/kernel/linux/kni/Kbuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/seastar/dpdk/kernel/linux/kni/Kbuild b/src/seastar/dpdk/kernel/linux/kni/Kbuild
new file mode 100644
index 000000000..de5c27f32
--- /dev/null
+++ b/src/seastar/dpdk/kernel/linux/kni/Kbuild
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2018 Luca Boccassi <bluca@debian.org>
+
+ccflags-y := $(MODULE_CFLAGS)
+obj-m := rte_kni.o
+rte_kni-y := $(patsubst $(src)/%.c,%.o,$(wildcard $(src)/*.c)) \
+ $(patsubst $(src)/%.c,%.o,$(wildcard $(src)/ethtool/ixgbe/*.c)) \
+ $(patsubst $(src)/%.c,%.o,$(wildcard $(src)/ethtool/igb/*.c))