[oe-commits] Koen Kooi : siteinfo bbclass: add entry for allarch

git version control git at git.openembedded.org
Thu Jun 2 12:32:35 UTC 2011


Module: meta-openembedded.git
Branch: master
Commit: f95ffd6cedb2a0fcad9db1b2d612663a327be87b
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=f95ffd6cedb2a0fcad9db1b2d612663a327be87b

Author: Koen Kooi <koen at dominion.thruhere.net>
Date:   Thu Jun  2 11:02:53 2011 +0200

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 at dominion.thruhere.net>

---

 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 262d0c8..a33b95f 100644
--- a/meta-oe/classes/siteinfo.bbclass
+++ b/meta-oe/classes/siteinfo.bbclass
@@ -17,6 +17,7 @@
 #
 def siteinfo_data(d):
     archinfo = {
+        "allarch": "endian-little bit-32", # bogus, but better than special-casing the checks below for allarch
         "arm": "endian-little bit-32 arm-common",
         "armeb": "endian-big bit-32 arm-common",
         "avr32": "endian-big bit-32 avr32-common",
@@ -100,7 +101,7 @@ python () {
         bb.fatal("Please add your architecture to siteinfo.bbclass")
 }
 
-# Old class from yocto pasted in below for compat
+# Old class from oe-core pasted in below for compat
 
 def get_siteinfo_list(d):
        target = bb.data.getVar('HOST_ARCH', d, 1) + "-" + bb.data.getVar('HOST_OS', d, 1)





More information about the Openembedded-commits mailing list