summaryrefslogtreecommitdiff
path: root/classes/sanity.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/sanity.bbclass')
-rw-r--r--classes/sanity.bbclass11
1 files changed, 2 insertions, 9 deletions
diff --git a/classes/sanity.bbclass b/classes/sanity.bbclass
index 1eb6bc998f..b6c6ed939a 100644
--- a/classes/sanity.bbclass
+++ b/classes/sanity.bbclass
@@ -85,15 +85,8 @@ def check_sanity(e):
required_utilities = "patch help2man diffstat texi2html makeinfo cvs svn bzip2 tar gzip gawk md5sum"
- if data.getVar('TARGET_ARCH', e.data, True) == "arm":
- # qemu-native needs gcc 3.x
- if "qemu-native" not in assume_provided and "gcc3-native" in assume_provided:
- gcc_version = commands.getoutput("${BUILD_PREFIX}gcc --version | head -n 1 | cut -f 3 -d ' '")
-
- if not check_gcc3(e.data) and gcc_version[0] != '3':
- messages = messages + "gcc3-native was in ASSUME_PROVIDED but the gcc-3.x binary can't be found in PATH"
- missing = missing + "gcc-3.x (needed for qemu-native),"
-
+ # If we'll be running qemu, perform some sanity checks
+ if data.getVar('ENABLE_BINARY_LOCALE_GENERATION', e.data, True):
if "qemu-native" in assume_provided:
required_utilities += " %s" % (qemu_target_binary(e.data))