build: add arch-specific header path to global includes
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 30 Apr 2020 16:01:20 +0000 (17:01 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 10 May 2020 21:45:02 +0000 (23:45 +0200)
commit44dfb297af4c47edbbde64dfb4715f108c7de2a4
tree886dad33544786ab879dee1a7228521269c7fae9
parentdec44d41109dac609d83805c0b906df446f8680e
build: add arch-specific header path to global includes

The global include path, which is used by anything built before EAL,
points to the EAL header files so they utility macros etc. can be used
anywhere in DPDK. This path included the OS-specific EAL header files,
but not the architecture-specific ones. This patch moves the selection
of target architecture to the top-level meson.build file so that the
global include can reference that.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Keith Wiles <keith.wiles@intel.com>
config/meson.build
lib/librte_eal/arm/include/meson.build
lib/librte_eal/ppc/include/meson.build
lib/librte_eal/x86/include/meson.build
meson.build