summaryrefslogtreecommitdiffstats
path: root/meta/classes/base.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r--meta/classes/base.bbclass8
1 files changed, 1 insertions, 7 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index f390f0804f..0bea639a95 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -362,11 +362,8 @@ python () {
362 if local.startswith(mp): 362 if local.startswith(mp):
363 #bb.note("overriding PACKAGE_ARCH from %s to %s" % (pkg_arch, mach_arch)) 363 #bb.note("overriding PACKAGE_ARCH from %s to %s" % (pkg_arch, mach_arch))
364 bb.data.setVar('PACKAGE_ARCH', "${MACHINE_ARCH}", d) 364 bb.data.setVar('PACKAGE_ARCH', "${MACHINE_ARCH}", d)
365 bb.data.setVar('MULTIMACH_ARCH', mach_arch, d)
366 return 365 return
367 366
368 multiarch = pkg_arch
369
370 packages = bb.data.getVar('PACKAGES', d, 1).split() 367 packages = bb.data.getVar('PACKAGES', d, 1).split()
371 for pkg in packages: 368 for pkg in packages:
372 pkgarch = bb.data.getVar("PACKAGE_ARCH_%s" % pkg, d, 1) 369 pkgarch = bb.data.getVar("PACKAGE_ARCH_%s" % pkg, d, 1)
@@ -375,10 +372,7 @@ python () {
375 # if multiple differences are present? 372 # if multiple differences are present?
376 # Look through PACKAGE_ARCHS for the priority order? 373 # Look through PACKAGE_ARCHS for the priority order?
377 if pkgarch and pkgarch == mach_arch: 374 if pkgarch and pkgarch == mach_arch:
378 multiarch = mach_arch 375 bb.fatal("Recipe %s is marked as only being architecture specific but seems to have machine specific packages?" % d.getVar("PN", True))
379 break
380
381 bb.data.setVar('MULTIMACH_ARCH', multiarch, d)
382} 376}
383 377
384def check_gcc3(data): 378def check_gcc3(data):