diff options
author | Ming Liu <peter.x.liu@external.atlascopco.com> | 2017-04-06 14:09:42 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-10 23:00:44 +0100 |
commit | 0ab2c6e82de6b919e3d1f4f86ee813d5e33f2dec (patch) | |
tree | 87df95ac23f1e0f24869199a8c69d91465e61c5c /meta/classes/crosssdk.bbclass | |
parent | b9f9bb443b270aeef0176105c4a74b71b26b92b6 (diff) | |
download | poky-0ab2c6e82de6b919e3d1f4f86ee813d5e33f2dec.tar.gz |
crosssdk.bbclass: override TARGET_* flags
Some TARGET_* flags are being exported in bitbake.conf currently, so
they are impacting all the tasks of a crosssdk recipe even they are
not in use at all.
This can lead a lot of churn when the crosssdk sysroot are shared by
machines while they have defined different TARGET_* flags.
Fix it by overriding with BUILD_* flags.
(From OE-Core rev: 3facbe700a2f28a11620c4954686ed5d5e47a3d9)
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/crosssdk.bbclass')
-rw-r--r-- | meta/classes/crosssdk.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/crosssdk.bbclass b/meta/classes/crosssdk.bbclass index a5ffd977b0..ddb98d22bc 100644 --- a/meta/classes/crosssdk.bbclass +++ b/meta/classes/crosssdk.bbclass | |||
@@ -21,8 +21,13 @@ TARGET_PREFIX = "${SDK_PREFIX}" | |||
21 | TARGET_CC_ARCH = "${SDK_CC_ARCH}" | 21 | TARGET_CC_ARCH = "${SDK_CC_ARCH}" |
22 | TARGET_LD_ARCH = "${SDK_LD_ARCH}" | 22 | TARGET_LD_ARCH = "${SDK_LD_ARCH}" |
23 | TARGET_AS_ARCH = "${SDK_AS_ARCH}" | 23 | TARGET_AS_ARCH = "${SDK_AS_ARCH}" |
24 | TARGET_CPPFLAGS = "${BUILD_CPPFLAGS}" | ||
25 | TARGET_CFLAGS = "${BUILD_CFLAGS}" | ||
26 | TARGET_CXXFLAGS = "${BUILD_CXXFLAGS}" | ||
27 | TARGET_LDFLAGS = "${BUILD_LDFLAGS}" | ||
24 | TARGET_FPU = "" | 28 | TARGET_FPU = "" |
25 | 29 | ||
30 | |||
26 | target_libdir = "${SDKPATHNATIVE}${libdir_nativesdk}" | 31 | target_libdir = "${SDKPATHNATIVE}${libdir_nativesdk}" |
27 | target_includedir = "${SDKPATHNATIVE}${includedir_nativesdk}" | 32 | target_includedir = "${SDKPATHNATIVE}${includedir_nativesdk}" |
28 | target_base_libdir = "${SDKPATHNATIVE}${base_libdir_nativesdk}" | 33 | target_base_libdir = "${SDKPATHNATIVE}${base_libdir_nativesdk}" |