meta-dpdk/recipes-extended
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: support build with external & multilib toolchains 2018-10-18 10:10:22 +08:00
dpdk-dev-libibverbs dpdk-dev-libibverbs: provide virtual/libibverbs 2018-01-05 12:23:27 -08:00