generic-poky/meta
Richard Purdie a8d5225c3c sanity.bbclass: Clean up various MACHINE checks
[YOCTO #1398]

Firstly we should start checking if MACHINE is set. It if isn't lets
make this a sanity warning since its very hard to successfully build
without setting one (and anyone wanting to do that can disable the
sanity checks easily enough anyway).

Some of the checks depend on a MACHINE being specified. This change
moves those checks to a separate function so they only run if MACHINE
has been set correctly.

Both these issues combine to ensure the user sees a sane message
and avoids the nasty tracebacks in the bug report referenced above.

(From OE-Core rev: 02aceca132f9e259cdc5283c4bfe84e6a55df54d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-31 19:38:31 +01:00
..
classes sanity.bbclass: Clean up various MACHINE checks 2011-08-31 19:38:31 +01:00
conf distro_tracking_fields: update binutils to 2.21.1a 2011-08-30 22:04:26 +01:00
files image.bbclass, kernel.bbclass: create warning file about deleting deploydir files 2011-08-19 09:29:18 -07:00
lib/oe oe.terminal: improve how we spawn screen 2011-08-10 13:33:07 +01:00
recipes-bsp recipes: Delete patch=1, its default and replace pnum with striplevel 2011-08-23 18:23:30 -07:00
recipes-connectivity recipes: Delete patch=1, its default and replace pnum with striplevel 2011-08-23 18:23:30 -07:00
recipes-core eglibc-locale.inc: Add eglibc-binaries, eglibc-localedatas, eglibc-gconvs and eglibc-charmps to variable PACKAGE 2011-08-30 22:27:58 +01:00
recipes-devtools intltool: Fix perl paths 2011-08-31 18:06:57 +01:00
recipes-extended libidn_1.22: add SRC_URI checksums 2011-08-30 22:12:57 +01:00
recipes-gnome recipes: Delete patch=1, its default and replace pnum with striplevel 2011-08-23 18:23:30 -07:00
recipes-graphics pango: make x11 support conditional on DISTRO_FEATURES 2011-08-29 13:48:06 +01:00
recipes-kernel linux-yocto-rt: qemumips: fix boot panic 2011-08-29 13:48:03 +01:00
recipes-multimedia recipes: Delete patch=1, its default and replace pnum with striplevel 2011-08-23 18:23:30 -07:00
recipes-qt qt4e-demo-image: Fix bug 999 2011-08-29 13:48:03 +01:00
recipes-rt rt-tests: use an explicit commit ID 2011-08-12 21:07:02 +01:00
recipes-sato task-core-x11-sato: add libsdl into sato image 2011-08-23 18:23:35 -07:00
recipes-support libtasn1: update SRC_URI 2011-08-24 15:02:23 -07:00
site Various siteinfo: Drop rp-pppoe variables 2011-08-04 15:04:37 +01:00
COPYING.MIT Add missing licence files (COPYING.MIT) 2006-07-23 13:52:32 +00:00
recipes.txt Major layout change to the packages directory 2010-08-27 15:29:45 +01:00