diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/allarch.bbclass | 15 | ||||
-rw-r--r-- | meta/classes/siteinfo.bbclass | 1 |
2 files changed, 16 insertions, 0 deletions
diff --git a/meta/classes/allarch.bbclass b/meta/classes/allarch.bbclass new file mode 100644 index 000000000..b7c37c3dd --- /dev/null +++ b/meta/classes/allarch.bbclass @@ -0,0 +1,15 @@ +# +# This class is used for architecture independent recipes/data files (usally scripts) +# + +PACKAGE_ARCH = "all" + +# No need for virtual/libc or a cross compiler +INHIBIT_DEFAULT_DEPS = "1" + +# Set these to a common set of values, we shouldn't be using them other that for WORKDIR directory +# naming anyway +TARGET_ARCH = "all" +TARGET_OS = "linux" +TARGET_CC_ARCH = "none" +PACKAGE_EXTRA_ARCHS = "" diff --git a/meta/classes/siteinfo.bbclass b/meta/classes/siteinfo.bbclass index 0b59e578f..6c272a75b 100644 --- a/meta/classes/siteinfo.bbclass +++ b/meta/classes/siteinfo.bbclass @@ -19,6 +19,7 @@ def get_siteinfo_list(d): target = bb.data.getVar('HOST_ARCH', d, 1) + "-" + bb.data.getVar('HOST_OS', d, 1) targetinfo = {\ + "all-linux": "",\ "armeb-linux": "endian-big bit-32 common-glibc arm-common",\ "armeb-linux-gnueabi": "endian-big bit-32 common-glibc arm-common armeb-linux",\ "armeb-linux-uclibc": "endian-big bit-32 common-uclibc arm-common",\ |