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 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 | |||
| 5 | PACKAGE_ARCH = "all" | ||
| 6 | |||
| 7 | # No need for virtual/libc or a cross compiler | ||
| 8 | INHIBIT_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 | ||
| 12 | TARGET_ARCH = "all" | ||
| 13 | TARGET_OS = "linux" | ||
| 14 | TARGET_CC_ARCH = "none" | ||
| 15 | PACKAGE_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",\ |
