]> code.ossystems Code Review - openembedded-core.git/commitdiff
base.bbclass: Back off the fatal error to a warning for now and try and recover
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 28 Jun 2011 13:47:10 +0000 (14:47 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 28 Jun 2011 13:47:10 +0000 (14:47 +0100)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/base.bbclass

index 575352d3f0e4cb3a33fd26033cf64aca60fa37fc..1f9baf93bfd7fadb852f2a70f5e1df190aee2701 100644 (file)
@@ -368,7 +368,8 @@ python () {
         # if multiple differences are present?
         # Look through PACKAGE_ARCHS for the priority order?
         if pkgarch and pkgarch == mach_arch:
-            bb.fatal("Recipe %s is marked as only being architecture specific but seems to have machine specific packages?" % d.getVar("PN", True))
+            bb.data.setVar('PACAKGE_ARCH', "${MACHINE_ARCH}", d)
+            bb.warn("Recipe %s is marked as only being architecture specific but seems to have machine specific packages?! The recipe may as well mark itself as machine specific directly." % d.getVar("PN", True))
 }
 
 def check_gcc3(data):