diff options
author | Ming Liu <peter.x.liu@external.atlascopco.com> | 2017-04-06 14:09:43 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-10 23:00:44 +0100 |
commit | e378c0ee4b9dfd55a6ac55228839847874e13cec (patch) | |
tree | 6b8491cf9f3c0b8df2297dcdba773235d916bed3 /meta | |
parent | 0ab2c6e82de6b919e3d1f4f86ee813d5e33f2dec (diff) | |
download | poky-e378c0ee4b9dfd55a6ac55228839847874e13cec.tar.gz |
nativesdk.bbclass: override TARGET_* flags
Some TARGET_* flags are being exported in bitbake.conf currently, so
they are impacting all the tasks of a nativesdk recipe even they are
not in use at all.
This can lead a lot of churn when the nativesdk sysroot are shared by
machines while they have defined different TARGET_* flags.
Fix it by overriding with BUILDSDK_* flags.
(From OE-Core rev: 85b69a5ec9ba9ea9ebdcd8ac18e1e147ddb1ff33)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/nativesdk.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass index a97f5a7114..ebcfb2df24 100644 --- a/meta/classes/nativesdk.bbclass +++ b/meta/classes/nativesdk.bbclass | |||
@@ -43,6 +43,10 @@ TARGET_PREFIX = "${SDK_PREFIX}" | |||
43 | TARGET_CC_ARCH = "${SDK_CC_ARCH}" | 43 | TARGET_CC_ARCH = "${SDK_CC_ARCH}" |
44 | TARGET_LD_ARCH = "${SDK_LD_ARCH}" | 44 | TARGET_LD_ARCH = "${SDK_LD_ARCH}" |
45 | TARGET_AS_ARCH = "${SDK_AS_ARCH}" | 45 | TARGET_AS_ARCH = "${SDK_AS_ARCH}" |
46 | TARGET_CPPFLAGS = "${BUILDSDK_CPPFLAGS}" | ||
47 | TARGET_CFLAGS = "${BUILDSDK_CFLAGS}" | ||
48 | TARGET_CXXFLAGS = "${BUILDSDK_CXXFLAGS}" | ||
49 | TARGET_LDFLAGS = "${BUILDSDK_LDFLAGS}" | ||
46 | TARGET_FPU = "" | 50 | TARGET_FPU = "" |
47 | EXTRA_OECONF_GCC_FLOAT = "" | 51 | EXTRA_OECONF_GCC_FLOAT = "" |
48 | 52 | ||