summaryrefslogtreecommitdiff
path: root/kernel/linux/kni/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/linux/kni/meson.build')
-rw-r--r--kernel/linux/kni/meson.build9
1 files changed, 2 insertions, 7 deletions
diff --git a/kernel/linux/kni/meson.build b/kernel/linux/kni/meson.build
index 877ff5c..a9f48b0 100644
--- a/kernel/linux/kni/meson.build
+++ b/kernel/linux/kni/meson.build
@@ -1,20 +1,17 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Luca Boccassi <bluca@debian.org>
-subdir('ethtool')
-
kni_mkfile = custom_target('rte_kni_makefile',
output: 'Makefile',
command: ['touch', '@OUTPUT@'])
kni_sources = files(
- 'kni_ethtool.c',
'kni_misc.c',
'kni_net.c',
'Kbuild')
custom_target('rte_kni',
- input: kni_sources + kni_igb_sources + kni_ixgbe_sources,
+ input: kni_sources,
output: 'rte_kni.ko',
command: ['make', '-j4', '-C', kernel_dir,
'M=' + meson.current_build_dir(),
@@ -23,9 +20,7 @@ custom_target('rte_kni',
' -I' + meson.source_root() + '/lib/librte_eal/common/include' +
' -I' + meson.source_root() + '/lib/librte_eal/linux/eal/include' +
' -I' + meson.build_root() +
- ' -I' + meson.current_source_dir() +
- ' -I' + meson.current_source_dir() + '/ethtool/ixgbe' +
- ' -I' + meson.current_source_dir() + '/ethtool/igb',
+ ' -I' + meson.current_source_dir(),
'modules'],
depends: kni_mkfile,
console: true,