summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/allarch.bbclass15
-rw-r--r--meta/classes/siteinfo.bbclass1
2 files changed, 16 insertions, 0 deletions
diff --git a/meta/classes/allarch.bbclass b/meta/classes/allarch.bbclass
new file mode 100644
index 0000000000..b7c37c3dd1
--- /dev/null
+++ b/meta/classes/allarch.bbclass
@@ -0,0 +1,15 @@
1#
2# This class is used for architecture independent recipes/data files (usally scripts)
3#
4
5PACKAGE_ARCH = "all"
6
7# No need for virtual/libc or a cross compiler
8INHIBIT_DEFAULT_DEPS = "1"
9
10# Set these to a common set of values, we shouldn't be using them other that for WORKDIR directory
11# naming anyway
12TARGET_ARCH = "all"
13TARGET_OS = "linux"
14TARGET_CC_ARCH = "none"
15PACKAGE_EXTRA_ARCHS = ""
diff --git a/meta/classes/siteinfo.bbclass b/meta/classes/siteinfo.bbclass
index 0b59e578fc..6c272a75bc 100644
--- a/meta/classes/siteinfo.bbclass
+++ b/meta/classes/siteinfo.bbclass
@@ -19,6 +19,7 @@ def get_siteinfo_list(d):
19 target = bb.data.getVar('HOST_ARCH', d, 1) + "-" + bb.data.getVar('HOST_OS', d, 1) 19 target = bb.data.getVar('HOST_ARCH', d, 1) + "-" + bb.data.getVar('HOST_OS', d, 1)
20 20
21 targetinfo = {\ 21 targetinfo = {\
22 "all-linux": "",\
22 "armeb-linux": "endian-big bit-32 common-glibc arm-common",\ 23 "armeb-linux": "endian-big bit-32 common-glibc arm-common",\
23 "armeb-linux-gnueabi": "endian-big bit-32 common-glibc arm-common armeb-linux",\ 24 "armeb-linux-gnueabi": "endian-big bit-32 common-glibc arm-common armeb-linux",\
24 "armeb-linux-uclibc": "endian-big bit-32 common-uclibc arm-common",\ 25 "armeb-linux-uclibc": "endian-big bit-32 common-uclibc arm-common",\