diff options
| -rw-r--r-- | meta/classes/allarch.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/allarch.bbclass b/meta/classes/allarch.bbclass index 208cde6e5e..ddc2a85050 100644 --- a/meta/classes/allarch.bbclass +++ b/meta/classes/allarch.bbclass | |||
| @@ -17,6 +17,7 @@ python () { | |||
| 17 | 17 | ||
| 18 | # Set these to a common set of values, we shouldn't be using them other that for WORKDIR directory | 18 | # Set these to a common set of values, we shouldn't be using them other that for WORKDIR directory |
| 19 | # naming anyway | 19 | # naming anyway |
| 20 | d.setVar("baselib", "lib") | ||
| 20 | d.setVar("TARGET_ARCH", "allarch") | 21 | d.setVar("TARGET_ARCH", "allarch") |
| 21 | d.setVar("TARGET_OS", "linux") | 22 | d.setVar("TARGET_OS", "linux") |
| 22 | d.setVar("TARGET_CC_ARCH", "none") | 23 | d.setVar("TARGET_CC_ARCH", "none") |
| @@ -41,6 +42,10 @@ python () { | |||
| 41 | d.setVar("EXCLUDE_FROM_SHLIBS", "1") | 42 | d.setVar("EXCLUDE_FROM_SHLIBS", "1") |
| 42 | d.setVar("INHIBIT_PACKAGE_DEBUG_SPLIT", "1") | 43 | d.setVar("INHIBIT_PACKAGE_DEBUG_SPLIT", "1") |
| 43 | d.setVar("INHIBIT_PACKAGE_STRIP", "1") | 44 | d.setVar("INHIBIT_PACKAGE_STRIP", "1") |
| 45 | |||
| 46 | # These multilib values shouldn't change allarch packages so exclude them | ||
| 47 | d.setVarFlag("emit_pkgdata", "vardepsexclude", "MULTILIB_VARIANTS") | ||
| 48 | d.setVarFlag("write_specfile", "vardepsexclude", "MULTILIBS") | ||
| 44 | elif bb.data.inherits_class('packagegroup', d) and not bb.data.inherits_class('nativesdk', d): | 49 | elif bb.data.inherits_class('packagegroup', d) and not bb.data.inherits_class('nativesdk', d): |
| 45 | bb.error("Please ensure recipe %s sets PACKAGE_ARCH before inherit packagegroup" % d.getVar("FILE", True)) | 50 | bb.error("Please ensure recipe %s sets PACKAGE_ARCH before inherit packagegroup" % d.getVar("FILE", True)) |
| 46 | } | 51 | } |
