eal: build with meson
authorBruce Richardson <bruce.richardson@intel.com>
Fri, 17 Nov 2017 19:37:54 +0000 (19:37 +0000)
committerBruce Richardson <bruce.richardson@intel.com>
Tue, 30 Jan 2018 16:49:16 +0000 (17:49 +0100)
commit844514c73569067061bb32388732e7ac3e977f90
tree1956a86a5a522a98d77041c1f53c6224f1afbdc1
parenta25a650be5f0c60ea69531741bd13521b183d502
eal: build with meson

Support building the EAL with meson and ninja. This involves a number of
different meson.build files for iterating through all the different
subdirectories in the EAL. The library itself will be compiled on build but
the header files are only copied from their initial location once "ninja
install" is run. Instead, we use meson dependency tracking to ensure that
other libraries which use the EAL headers can find them in their original
locations.

Note: this does not include building kernel modules on either BSD or Linux

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Harry van Haaren <harry.van.haaren@intel.com>
Acked-by: Keith Wiles <keith.wiles@intel.com>
Acked-by: Luca Boccassi <luca.boccassi@gmail.com>
14 files changed:
config/rte_config.h
lib/librte_eal/bsdapp/eal/meson.build [new file with mode: 0644]
lib/librte_eal/bsdapp/meson.build [new file with mode: 0644]
lib/librte_eal/common/arch/meson.build [new file with mode: 0644]
lib/librte_eal/common/arch/x86/meson.build [new file with mode: 0644]
lib/librte_eal/common/include/arch/meson.build [new file with mode: 0644]
lib/librte_eal/common/include/arch/x86/meson.build [new file with mode: 0644]
lib/librte_eal/common/include/meson.build [new file with mode: 0644]
lib/librte_eal/common/meson.build [new file with mode: 0644]
lib/librte_eal/linuxapp/eal/meson.build [new file with mode: 0644]
lib/librte_eal/linuxapp/meson.build [new file with mode: 0644]
lib/librte_eal/meson.build [new file with mode: 0644]
lib/meson.build [new file with mode: 0644]
meson.build