summaryrefslogtreecommitdiffstats
path: root/conf/layer.conf
diff options
context:
space:
mode:
authorArsalan H. Awan <Arsalan_Awan@mentor.com>2018-10-03 00:05:28 +0500
committerAnuj Mittal <anuj.mittal@intel.com>2018-10-03 17:12:01 +0800
commit7f6bffb51c1f157adedf191a0d131973d02a028a (patch)
treea00ffe9050503834d88f8210a5612fbffd5469d1 /conf/layer.conf
parent229c0bc374b495e8ebc5f13aabfe41fd4482a938 (diff)
downloadmeta-dpdk-7f6bffb51c1f157adedf191a0d131973d02a028a.tar.gz
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>
Diffstat (limited to 'conf/layer.conf')
0 files changed, 0 insertions, 0 deletions