summaryrefslogtreecommitdiffstats
path: root/meta/classes/allarch.bbclass
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2014-01-18 15:02:40 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-21 10:20:11 +0000
commit94802fd6fca487606faa2a5b0effe83f1b8dde7c (patch)
tree128d994f8522600ab4bc37cf7ddf9f002179caad /meta/classes/allarch.bbclass
parent9abc0028fc2b8d7d79b280d30bdbd987fca2b6d8 (diff)
downloadpoky-94802fd6fca487606faa2a5b0effe83f1b8dde7c.tar.gz
allarch: Set empty TARGET_PREFIX and TARGET_FPU
* set empty TARGET_PREFIX This has a bit weird reason caused by unsupported setup where external-toolchain is used in some DISTRO only for some MACHINEs and internal is used for other MACHINEs. Because external-toolchain usually comes with different TARGET_PREFIX it was causing allarch recipes to have different signatures even when they don't use toolchain at all. Empty TARGET_PREFIX also helps to find allarch recipes which still have default dependency on e.g. virtual/${TARGET_PREFIX}gcc. * add TARGET_FPU just for completeness (it was used in icecc.bbclass but now it's vardepexcluded there as well) (From OE-Core rev: 180ba7f6603b35eb66946649d8860022d2c329b7) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/allarch.bbclass')
-rw-r--r--meta/classes/allarch.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/allarch.bbclass b/meta/classes/allarch.bbclass
index 3ef1e9c0ef..d41dd4bee8 100644
--- a/meta/classes/allarch.bbclass
+++ b/meta/classes/allarch.bbclass
@@ -22,6 +22,8 @@ python () {
22 d.setVar("TARGET_CC_ARCH", "none") 22 d.setVar("TARGET_CC_ARCH", "none")
23 d.setVar("TARGET_LD_ARCH", "none") 23 d.setVar("TARGET_LD_ARCH", "none")
24 d.setVar("TARGET_AS_ARCH", "none") 24 d.setVar("TARGET_AS_ARCH", "none")
25 d.setVar("TARGET_FPU", "")
26 d.setVar("TARGET_PREFIX", "")
25 d.setVar("PACKAGE_EXTRA_ARCHS", "") 27 d.setVar("PACKAGE_EXTRA_ARCHS", "")
26 d.setVar("SDK_ARCH", "none") 28 d.setVar("SDK_ARCH", "none")
27 d.setVar("SDK_CC_ARCH", "none") 29 d.setVar("SDK_CC_ARCH", "none")