qemu: Perform our sanity checks based on ENABLE_BINARY_LOCALE_GENERATION
authorTom Rini <tom_rini@mentor.com>
Mon, 1 Mar 2010 11:18:28 +0000 (11:18 +0000)
committerTom Rini <tom_rini@mentor.com>
Tue, 2 Mar 2010 17:36:21 +0000 (10:36 -0700)
commit31e93854259130e20a4e08c9d803c34edc4b447e
treec601600bc20b60240a1977680ae727b273f9c92e
parentf2f02f6e4754f69b83de7613860fd580e27c0237
qemu: Perform our sanity checks based on ENABLE_BINARY_LOCALE_GENERATION

Perform qemu-related checks not based on if we're ARM but based on if
we'll be using qemu for binary locale generation.  Clarify what the
first of these sanity checks does.  Next, change the check for a
provided qemu binary to be generic enough to work on all arches (and catch
distribution or user built versions of qemu).  While we're in here, correct
the gcc version check code in base.bbclass.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Acked-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Chris Larson <chris_larson@mentor.com>
classes/base.bbclass
classes/sanity.bbclass