cross-canadian.bbclass: override TARGET_* flags
Some TARGET_* flags are being exported in bitbake.conf currently, so they are impacting all the tasks of a cross-canadian recipe even they are not in use at all. This can lead a lot of churn when the cross-canadian sysroot are shared by machines while they have defined different TARGET_* flags. Fix it by overriding with BUILDSDK_* flags. (From OE-Core rev: 767335c92b7cc657a008722a908380a3c89c3c66) Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
e378c0ee4b
commit
863b6d4f80
|
@ -115,6 +115,11 @@ HOST_CC_ARCH = "${SDK_CC_ARCH}"
|
|||
HOST_LD_ARCH = "${SDK_LD_ARCH}"
|
||||
HOST_AS_ARCH = "${SDK_AS_ARCH}"
|
||||
|
||||
TARGET_CPPFLAGS = "${BUILDSDK_CPPFLAGS}"
|
||||
TARGET_CFLAGS = "${BUILDSDK_CFLAGS}"
|
||||
TARGET_CXXFLAGS = "${BUILDSDK_CXXFLAGS}"
|
||||
TARGET_LDFLAGS = "${BUILDSDK_LDFLAGS}"
|
||||
|
||||
#assign DPKG_ARCH
|
||||
DPKG_ARCH = "${@debian_arch_map(d.getVar('SDK_ARCH'), '')}"
|
||||
|
||||
|
|
Loading…
Reference in New Issue