summaryrefslogtreecommitdiffstats
path: root/meta/classes/cross-canadian.bbclass
diff options
context:
space:
mode:
authorMing Liu <peter.x.liu@external.atlascopco.com>2017-04-06 14:09:44 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-10 23:00:44 +0100
commit863b6d4f80869b0388fd9ef5c0ead38993c3b2b5 (patch)
tree44b7b026f3b7008e170dbd9bd67ce53a36cffcb5 /meta/classes/cross-canadian.bbclass
parente378c0ee4b9dfd55a6ac55228839847874e13cec (diff)
downloadpoky-863b6d4f80869b0388fd9ef5c0ead38993c3b2b5.tar.gz
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>
Diffstat (limited to 'meta/classes/cross-canadian.bbclass')
-rw-r--r--meta/classes/cross-canadian.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass
index 3120f46a14..49388d4cf2 100644
--- a/meta/classes/cross-canadian.bbclass
+++ b/meta/classes/cross-canadian.bbclass
@@ -115,6 +115,11 @@ HOST_CC_ARCH = "${SDK_CC_ARCH}"
115HOST_LD_ARCH = "${SDK_LD_ARCH}" 115HOST_LD_ARCH = "${SDK_LD_ARCH}"
116HOST_AS_ARCH = "${SDK_AS_ARCH}" 116HOST_AS_ARCH = "${SDK_AS_ARCH}"
117 117
118TARGET_CPPFLAGS = "${BUILDSDK_CPPFLAGS}"
119TARGET_CFLAGS = "${BUILDSDK_CFLAGS}"
120TARGET_CXXFLAGS = "${BUILDSDK_CXXFLAGS}"
121TARGET_LDFLAGS = "${BUILDSDK_LDFLAGS}"
122
118#assign DPKG_ARCH 123#assign DPKG_ARCH
119DPKG_ARCH = "${@debian_arch_map(d.getVar('SDK_ARCH'), '')}" 124DPKG_ARCH = "${@debian_arch_map(d.getVar('SDK_ARCH'), '')}"
120 125