build: set toolchain info during meson configure
authorPavan Nikhilesh <pbhagavatula@caviumnetworks.com>
Tue, 3 Apr 2018 11:24:52 +0000 (16:54 +0530)
committerBruce Richardson <bruce.richardson@intel.com>
Tue, 17 Apr 2018 14:09:43 +0000 (16:09 +0200)
commitafd18fa21b5ee4e7a5c2df6e5ab58431f5bfac01
tree9eb82a68517969a019b2a4cd80b9f0ac49ce83c9
parent49781e37e78a1be538e498233b84a2b0e644b5eb
build: set toolchain info during meson configure

Meson reports the toolchain using cc.get_id and we can set RTE_TOOLCHAIN,
RTE_TOOLCHAIN_X in dpdk_conf so that it can be used by both x86 and arm.

Suggested-by: Bruce Richardson <bruce.richardson@intel.com>
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
config/arm/meson.build
config/meson.build