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

Signed-off-by: Bruce Richardson <bruce.richard...@intel.com>
---
 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

Reply via email to