summaryrefslogtreecommitdiffstats
path: root/meta-oe/classes
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-06-02 11:02:53 +0200
committerKoen Kooi <koen@dominion.thruhere.net>2011-06-02 11:02:53 +0200
commitf95ffd6cedb2a0fcad9db1b2d612663a327be87b (patch)
tree73835337d88766d33363b9f413ce556938b47db4 /meta-oe/classes
parent68fc9becd4e797d5f39b84991c0b6538ff7adcc3 (diff)
downloadmeta-openembedded-f95ffd6cedb2a0fcad9db1b2d612663a327be87b.tar.gz
siteinfo bbclass: add entry for allarch
As stated in the comment, the values are bogus but better than specialcasing the checks Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/classes')
-rw-r--r--meta-oe/classes/siteinfo.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/classes/siteinfo.bbclass b/meta-oe/classes/siteinfo.bbclass
index 262d0c8a6..a33b95f0a 100644
--- a/meta-oe/classes/siteinfo.bbclass
+++ b/meta-oe/classes/siteinfo.bbclass
@@ -17,6 +17,7 @@
17# 17#
18def siteinfo_data(d): 18def siteinfo_data(d):
19 archinfo = { 19 archinfo = {
20 "allarch": "endian-little bit-32", # bogus, but better than special-casing the checks below for allarch
20 "arm": "endian-little bit-32 arm-common", 21 "arm": "endian-little bit-32 arm-common",
21 "armeb": "endian-big bit-32 arm-common", 22 "armeb": "endian-big bit-32 arm-common",
22 "avr32": "endian-big bit-32 avr32-common", 23 "avr32": "endian-big bit-32 avr32-common",
@@ -100,7 +101,7 @@ python () {
100 bb.fatal("Please add your architecture to siteinfo.bbclass") 101 bb.fatal("Please add your architecture to siteinfo.bbclass")
101} 102}
102 103
103# Old class from yocto pasted in below for compat 104# Old class from oe-core pasted in below for compat
104 105
105def get_siteinfo_list(d): 106def get_siteinfo_list(d):
106 target = bb.data.getVar('HOST_ARCH', d, 1) + "-" + bb.data.getVar('HOST_OS', d, 1) 107 target = bb.data.getVar('HOST_ARCH', d, 1) + "-" + bb.data.getVar('HOST_OS', d, 1)