From: Koen Kooi Date: Fri, 6 Apr 2007 13:30:27 +0000 (+0000) Subject: insane.bbclass: short circuit architecture check for cross packages (e.g. gcc-cross... X-Git-Tag: Release-2010-05/1~8868^2~771^2^2~2^2~9 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a7674dd3d52c00063b5ec4468a75bfa05ef22bd;p=openembedded.git insane.bbclass: short circuit architecture check for cross packages (e.g. gcc-cross-sdk) --- 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...