summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-28 14:47:10 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-28 14:47:10 +0100
commit3a8e115904a227fcecb61e81f5e540d1aebea352 (patch)
tree52718c3f245c1a2f067528054730ad33cde92c86 /meta/classes
parent3836a2112f5761337fe40216eff87c954ce8d526 (diff)
downloadopenembedded-core-3a8e115904a227fcecb61e81f5e540d1aebea352.tar.gz
openembedded-core-3a8e115904a227fcecb61e81f5e540d1aebea352.tar.bz2
openembedded-core-3a8e115904a227fcecb61e81f5e540d1aebea352.zip
base.bbclass: Back off the fatal error to a warning for now and try and recover
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/base.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 575352d3f0..1f9baf93bf 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -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):