summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/images/build-appliance-image_8.0.bb
diff options
context:
space:
mode:
authorMike Crowe <mac@mcrowe.com>2014-04-16 10:31:36 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-04-24 17:55:16 +0100
commit370ae2720fcd800554def4b522421686ab889973 (patch)
tree4e7ebbeded20271cb2a761620693a2b3b33532c2 /meta/recipes-core/images/build-appliance-image_8.0.bb
parent7f138d64f093610a03f2333ae31b48edfa3553ff (diff)
downloadpoky-370ae2720fcd800554def4b522421686ab889973.tar.gz
native.bbclass: Override TARGET_ flags too
TARGET_LDFLAGS is currently defined in bitbake.conf to contain ${TARGET_LINK_HASH_STYLE} which differs between MIPS and other targets. Since TARGET_LDFLAGS is an exported variable it affects the hash of every shell task even if it is not used. We don't want native recipe tasks to have different hashes purely because they happen to have been built in order to satisfy dependencies for different MACHINEs since this causes lots of churn in the native sysroot when switching between MACHINEs. Making native.bbclass override TARGET_LDFLAGS to use BUILD_LDFLAGS ensures consistent hashes and is a sensible thing to be doing anyway. Although they don't appear to have the same detrimental affect on task hashes TARGET_CPPFLAGS, TARGET_CFLAGS and TARGET_CXXFLAGS should be overridden too. (From OE-Core rev: 05a70ac30b37cab0952f1b9df501993a9dec70da) Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/images/build-appliance-image_8.0.bb')
0 files changed, 0 insertions, 0 deletions