[v3,02/15] kni: move header file from EAL
Checks
Commit Message
Since the kernel module is not part of EAL anymore,
there is no need to have the common KNI header file in EAL.
The file rte_kni_common.h is moved to librte_kni.
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
---
kernel/linux/kni/meson.build | 2 +-
lib/librte_eal/linux/include/meson.build | 1 -
lib/librte_kni/meson.build | 2 +-
lib/{librte_eal/linux/include => librte_kni}/rte_kni_common.h | 0
4 files changed, 2 insertions(+), 3 deletions(-)
rename lib/{librte_eal/linux/include => librte_kni}/rte_kni_common.h (100%)
@@ -18,7 +18,7 @@ custom_target('rte_kni',
'src=' + meson.current_source_dir(),
'MODULE_CFLAGS=-include ' + meson.source_root() + '/config/rte_config.h' +
' -I' + meson.source_root() + '/lib/librte_eal/include' +
- ' -I' + meson.source_root() + '/lib/librte_eal/linux/include' +
+ ' -I' + meson.source_root() + '/lib/librte_kni' +
' -I' + meson.build_root() +
' -I' + meson.current_source_dir(),
'modules'],
@@ -4,6 +4,5 @@
includes += include_directories('.')
headers += files(
- 'rte_kni_common.h',
'rte_os.h',
)
@@ -6,5 +6,5 @@ if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
reason = 'only supported on 64-bit linux'
endif
sources = files('rte_kni.c')
-headers = files('rte_kni.h')
+headers = files('rte_kni.h', 'rte_kni_common.h')
deps += ['ethdev', 'pci']
similarity index 100%
rename from lib/librte_eal/linux/include/rte_kni_common.h
rename to lib/librte_kni/rte_kni_common.h