diff options
| author | Koen Kooi <koen@dominion.thruhere.net> | 2011-06-02 11:02:53 +0200 |
|---|---|---|
| committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-06-02 11:02:53 +0200 |
| commit | f95ffd6cedb2a0fcad9db1b2d612663a327be87b (patch) | |
| tree | 73835337d88766d33363b9f413ce556938b47db4 | |
| parent | 68fc9becd4e797d5f39b84991c0b6538ff7adcc3 (diff) | |
| download | meta-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>
| -rw-r--r-- | meta-oe/classes/siteinfo.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/classes/siteinfo.bbclass b/meta-oe/classes/siteinfo.bbclass index 262d0c8a61..a33b95f0a7 100644 --- a/meta-oe/classes/siteinfo.bbclass +++ b/meta-oe/classes/siteinfo.bbclass | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | # | 17 | # |
| 18 | def siteinfo_data(d): | 18 | def 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 | ||
| 105 | def get_siteinfo_list(d): | 106 | def 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) |
