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

Signed-off-by: Bruce Richardson <bruce.richard...@intel.com>
---
 lib/librte_eal/x86/include/meson.build | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/lib/librte_eal/x86/include/meson.build 
b/lib/librte_eal/x86/include/meson.build
index 549cc21a42..835ea22947 100644
--- a/lib/librte_eal/x86/include/meson.build
+++ b/lib/librte_eal/x86/include/meson.build
@@ -2,11 +2,7 @@
 # Copyright(c) 2017 Intel Corporation
 
 arch_headers = files(
-       'rte_atomic_32.h',
-       'rte_atomic_64.h',
        'rte_atomic.h',
-       'rte_byteorder_32.h',
-       'rte_byteorder_64.h',
        'rte_byteorder.h',
        'rte_cpuflags.h',
        'rte_cycles.h',
@@ -22,4 +18,12 @@ arch_headers = files(
        'rte_ticketlock.h',
        'rte_vect.h',
 )
-install_headers(arch_headers, subdir: get_option('include_subdir_arch'))
+arch_headers_no_chkincs = files(
+       'rte_atomic_32.h',
+       'rte_atomic_64.h',
+       'rte_byteorder_32.h',
+       'rte_byteorder_64.h',
+)
+install_headers(arch_headers + arch_headers_no_chkincs,
+               subdir: get_option('include_subdir_arch'))
+dpdk_chkinc_headers += arch_headers
-- 
2.27.0

Reply via email to