meta-dpdk/recipes-extended/dpdk
Arsalan H. Awan 7f6bffb51c dpdk: support build with external & multilib toolchains
This fixes dpdk build when using an external toolchain by adding
the HOST_CC_ARCH & TOOLCHAIN_OPTIONS to EXTRA_CFLAGS the way
standard Yocto does it to gather all the necessary flags for
compilation.
The TOOLCHAIN_OPTIONS variable also provides the sysroot flag, so
no need to explicitly provide the sysroot.

This commit also fixes the build when using a multilib toolchain
by adding the LDEMULATION flags to the LDFLAGS via TUNE_LDARGS
which are required while linking with a multilib toolchain.

Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2018-10-03 17:12:01 +08:00
..
dpdk dpdk: Upgrade to 17.11.3 2018-08-17 14:15:43 +08:00
dpdk_17.11.3.bb dpdk: Upgrade to 17.11.3 2018-08-17 14:15:43 +08:00
dpdk_18.05.bb dpdk: upgrade to 18.05 2018-06-19 09:21:57 +08:00
dpdk.inc dpdk: support build with external & multilib toolchains 2018-10-03 17:12:01 +08:00