meta-dpdk/recipes-extended/dpdk
Arsalan H. Awan 8d202b0a3c 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>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-10-18 10:10:22 +08:00
..
dpdk dpdk: remove dpdk-16.04-Fix-for-misleading-indentation-error.patch 2018-04-09 16:47:22 -07:00
dpdk_17.11.1.bb dpdk: Remove the useless checksums 2018-04-16 16:47:50 -07:00
dpdk_18.02.2.bb dpdk: upgrade to latest stable release 18.02.2 2018-10-08 11:06:49 +08:00
dpdk.inc dpdk: support build with external & multilib toolchains 2018-10-18 10:10:22 +08:00