diff options
author | Ming Liu <liu.ming50@gmail.com> | 2017-09-17 11:53:43 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-21 09:24:24 +0100 |
commit | 7846fc222b7d1480c940a3671a1b32a70a0cb16f (patch) | |
tree | c85dab0e2026e4a6cff50eb2f71da3c093aedbb9 /meta/classes/cross-canadian.bbclass | |
parent | fe36ee591eac2742e27fd9bf3b7d30c4c761131d (diff) | |
download | poky-7846fc222b7d1480c940a3671a1b32a70a0cb16f.tar.gz |
cross-canadian.bbclass: drop TARGET_* flags overrides
A regression was introduced by me in commit 767335c9:
[ cross-canadian.bbclass: override TARGET_* flags ]
it causes BUILDSDK_C/CXXFLAGS being exported in environment-setup
script built from meta-environment recipe, which is wrong, restore to
TARGET_C/CXXFLAGS.
(From OE-Core rev: 44160df561a1b10b4c7a74558bdfe6b58ee0a9ec)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.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.bbclass | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass index 69cbe901a6..1928455cf7 100644 --- a/meta/classes/cross-canadian.bbclass +++ b/meta/classes/cross-canadian.bbclass | |||
@@ -113,11 +113,6 @@ HOST_CC_ARCH = "${SDK_CC_ARCH}" | |||
113 | HOST_LD_ARCH = "${SDK_LD_ARCH}" | 113 | HOST_LD_ARCH = "${SDK_LD_ARCH}" |
114 | HOST_AS_ARCH = "${SDK_AS_ARCH}" | 114 | HOST_AS_ARCH = "${SDK_AS_ARCH}" |
115 | 115 | ||
116 | TARGET_CPPFLAGS = "${BUILDSDK_CPPFLAGS}" | ||
117 | TARGET_CFLAGS = "${BUILDSDK_CFLAGS}" | ||
118 | TARGET_CXXFLAGS = "${BUILDSDK_CXXFLAGS}" | ||
119 | TARGET_LDFLAGS = "${BUILDSDK_LDFLAGS}" | ||
120 | |||
121 | #assign DPKG_ARCH | 116 | #assign DPKG_ARCH |
122 | DPKG_ARCH = "${@debian_arch_map(d.getVar('SDK_ARCH'), '')}" | 117 | DPKG_ARCH = "${@debian_arch_map(d.getVar('SDK_ARCH'), '')}" |
123 | 118 | ||