]> code.ossystems Code Review - openembedded-core.git/commit
allarch: Force TARGET_*FLAGS variable values
authorMike Crowe <mac@mcrowe.com>
Thu, 29 Oct 2015 12:28:21 +0000 (12:28 +0000)
committerJoshua Lock <joshua.lock@collabora.co.uk>
Tue, 8 Dec 2015 22:14:48 +0000 (22:14 +0000)
commit017b1992c7b9055f3a16e9c2e14535fe81dde6c8
treeaad96502c0637c53188e1a6b8cef5d22958c7981
parentc195dfac6fd248f65f00b9d5419ab132dbc1e6c9
allarch: Force TARGET_*FLAGS variable values

TARGET_CPPFLAGS, TARGET_CFLAGS, TARGET_CPPFLAGS and TARGET_LDFLAGS may
differ between MACHINEs. Since they are exported they affect task hashes
even if unused which leads to multiple variants of allarch packages
existing in sstate and bouncing in the sysroot when switching between
MACHINEs.

allarch packages shouldn't be using these variables anyway, so let's
ensure they have a fixed value in order to avoid this problem.

(Compare with 05a70ac30b37cab0952f1b9df501993a9dec70da and
14f4d016fef9d660da1e7e91aec4a0e807de59ab.)

(From OE-Core master rev: d08fda21bfb7d264c238af0232a22cdd751f5150)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
meta/classes/allarch.bbclass