insane.bbclass: fix sdk builds
authorKoen Kooi <koen@openembedded.org>
Thu, 17 May 2007 08:04:19 +0000 (08:04 +0000)
committerKoen Kooi <koen@openembedded.org>
Thu, 17 May 2007 08:04:19 +0000 (08:04 +0000)
classes/insane.bbclass

index 385db31..9f243c8 100644 (file)
@@ -273,7 +273,7 @@ def package_qa_check_arch(path,name,d):
     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):
+    if bb.data.inherits_class('cross', d) or bb.data.inherits_class('sdk', d):
         return True
 
     # avoid following links to /usr/bin (e.g. on udev builds)