Thread (165 messages) 165 messages, 13 authors, 2021-02-22

[dpdk-dev] [PATCH 19/20] eal/x86: add architecture-specific headers to chkincs

From: Bruce Richardson <hidden>
Date: 2021-01-14 11:09:14
Subsystem: library code, the rest · Maintainers: Andrew Morton, Linus Torvalds

Ensure the architecture-specific header files for x86 have all necessary
includes in them.

Signed-off-by: Bruce Richardson <redacted>
---
 app/chkincs/gen_c_file_for_header.py   | 4 ++++
 lib/librte_eal/x86/include/meson.build | 1 +
 2 files changed, 5 insertions(+)
diff --git a/app/chkincs/gen_c_file_for_header.py b/app/chkincs/gen_c_file_for_header.py
index f92f2b412c..d7e97b2ab4 100755
--- a/app/chkincs/gen_c_file_for_header.py
+++ b/app/chkincs/gen_c_file_for_header.py
@@ -8,6 +8,10 @@
 empty_contents = 'static const char *empty __attribute__((unused)) = "empty";'
 # files which are not used directly, but included via others
 exceptions = [
+    'rte_atomic_32.h',
+    'rte_atomic_64.h',
+    'rte_byteorder_32.h',
+    'rte_byteorder_64.h',
     'rte_cmp_arm64.h',
     'rte_cmp_x86.h',
     'rte_crc_arm64.h',
diff --git a/lib/librte_eal/x86/include/meson.build b/lib/librte_eal/x86/include/meson.build
index 549cc21a42..b5aa2c71a5 100644
--- a/lib/librte_eal/x86/include/meson.build
+++ b/lib/librte_eal/x86/include/meson.build
@@ -23,3 +23,4 @@ arch_headers = files(
 	'rte_vect.h',
 )
 install_headers(arch_headers, subdir: get_option('include_subdir_arch'))
+dpdk_headers += arch_headers
-- 
2.27.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help