diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/allarch.bbclass | 33 |
1 files changed, 19 insertions, 14 deletions
diff --git a/meta/classes/allarch.bbclass b/meta/classes/allarch.bbclass index 21157e5e18..8669470e60 100644 --- a/meta/classes/allarch.bbclass +++ b/meta/classes/allarch.bbclass | |||
@@ -4,20 +4,25 @@ | |||
4 | 4 | ||
5 | PACKAGE_ARCH = "all" | 5 | PACKAGE_ARCH = "all" |
6 | 6 | ||
7 | # No need for virtual/libc or a cross compiler | 7 | python () { |
8 | INHIBIT_DEFAULT_DEPS = "1" | 8 | # Allow this class to be included but overridden - only set |
9 | # the values if we're still "all" package arch. | ||
10 | if d.getVar("PACKAGE_ARCH") == "all": | ||
11 | # No need for virtual/libc or a cross compiler | ||
12 | d.setVar("INHIBIT_DEFAULT_DEPS","1") | ||
9 | 13 | ||
10 | # Set these to a common set of values, we shouldn't be using them other that for WORKDIR directory | 14 | # Set these to a common set of values, we shouldn't be using them other that for WORKDIR directory |
11 | # naming anyway | 15 | # naming anyway |
12 | TARGET_ARCH = "allarch" | 16 | d.setVar("TARGET_ARCH", "allarch") |
13 | TARGET_OS = "linux" | 17 | d.setVar("TARGET_OS", "linux") |
14 | TARGET_CC_ARCH = "none" | 18 | d.setVar("TARGET_CC_ARCH", "none") |
15 | TARGET_LD_ARCH = "none" | 19 | d.setVar("TARGET_LD_ARCH", "none") |
16 | TARGET_AS_ARCH = "none" | 20 | d.setVar("TARGET_AS_ARCH", "none") |
17 | PACKAGE_EXTRA_ARCHS = "" | 21 | d.setVar("PACKAGE_EXTRA_ARCHS", "") |
18 | 22 | ||
19 | # No need to do shared library processing or debug symbol handling | 23 | # No need to do shared library processing or debug symbol handling |
20 | EXCLUDE_FROM_SHLIBS = "1" | 24 | d.setVar("EXCLUDE_FROM_SHLIBS", "1") |
21 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | 25 | d.setVar("INHIBIT_PACKAGE_DEBUG_SPLIT", "1") |
22 | INHIBIT_PACKAGE_STRIP = "1" | 26 | d.setVar("INHIBIT_PACKAGE_STRIP", "1") |
27 | } | ||
23 | 28 | ||