summaryrefslogtreecommitdiffstats
path: root/meta/classes/base.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-22 16:10:16 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-28 13:55:39 +0100
commit1d2f3957b5c1e90b0e57ddb2488594e2db65e320 (patch)
treebd535953ea1669d80ee5bf4689cfe246bedbfb5d /meta/classes/base.bbclass
parent371a224c1ee6e105ac5969a35373d47b2ac70265 (diff)
downloadpoky-1d2f3957b5c1e90b0e57ddb2488594e2db65e320.tar.gz
classes/conf: Drop MULTIMACH_ARCH variable, it adds unused complexity and serves no useful purpose
(From OE-Core rev: e623d3015bbdeb2b42b9763937be899a1fa9c0ca) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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):