summaryrefslogtreecommitdiff
path: root/classes/insane.bbclass
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-04-06 13:30:27 +0000
committerKoen Kooi <koen@openembedded.org>2007-04-06 13:30:27 +0000
commit6a7674dd3d52c00063b5ec4468a75bfa05ef22bd (patch)
tree7b1d42557df8d986d8bb7855ae440fb64a0e41c2 /classes/insane.bbclass
parent19d52cb16ab1f04c935bff833be7991af02af980 (diff)
insane.bbclass: short circuit architecture check for cross packages (e.g. gcc-cross-sdk)
Diffstat (limited to 'classes/insane.bbclass')
-rw-r--r--classes/insane.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/classes/insane.bbclass b/classes/insane.bbclass
index e5a1cd03d4..21348a8bb6 100644
--- a/classes/insane.bbclass
+++ b/classes/insane.bbclass
@@ -255,6 +255,10 @@ def package_qa_check_arch(path,name,d):
import bb, os
target_os = bb.data.getVar('TARGET_OS', d, True)
target_arch = bb.data.getVar('TARGET_ARCH', d, True)
+
+ # FIXME: Cross package confuse this check, so just skip them
+ if bb.data.inherits_class('cross', d):
+ return True
# avoid following links to /usr/bin (e.g. on udev builds)
# we will check the files pointed to anyway...