diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-28 14:47:10 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-28 15:06:53 +0100 |
commit | 2bcbc9b7eadac61959aca029c455d1119ecdd923 (patch) | |
tree | 41f630cd990f2e495fe646b5a4c596e66e4ec934 /meta/classes/base.bbclass | |
parent | 7aab545b76a41c3a9b6b48814697bb36a3129fa2 (diff) | |
download | poky-2bcbc9b7eadac61959aca029c455d1119ecdd923.tar.gz |
base.bbclass: Back off the fatal error to a warning for now and try and recover
(From OE-Core rev: 3a8e115904a227fcecb61e81f5e540d1aebea352)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 3 |
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 () { | |||
368 | # if multiple differences are present? | 368 | # if multiple differences are present? |
369 | # Look through PACKAGE_ARCHS for the priority order? | 369 | # Look through PACKAGE_ARCHS for the priority order? |
370 | if pkgarch and pkgarch == mach_arch: | 370 | if pkgarch and pkgarch == mach_arch: |
371 | bb.fatal("Recipe %s is marked as only being architecture specific but seems to have machine specific packages?" % d.getVar("PN", True)) | 371 | bb.data.setVar('PACAKGE_ARCH', "${MACHINE_ARCH}", d) |
372 | 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)) | ||
372 | } | 373 | } |
373 | 374 | ||
374 | def check_gcc3(data): | 375 | def check_gcc3(data): |