autotools.bbclass: sdk packages should not depend on libtool-cross
authorTom Rini <trini@embeddedalley.com>
Sat, 13 Jun 2009 18:33:59 +0000 (14:33 -0400)
committerTom Rini <trini@embeddedalley.com>
Sat, 13 Jun 2009 18:33:59 +0000 (14:33 -0400)
classes/autotools.bbclass

index e43b289..8236a27 100644 (file)
@@ -20,6 +20,7 @@ def autotools_dep_prepend(d):
                deps += 'libtool-native '
                if not bb.data.inherits_class('native', d) \
                         and not bb.data.inherits_class('cross', d) \
+                        and not bb.data.inherits_class('sdk', d) \
                         and not bb.data.getVar('INHIBIT_DEFAULT_DEPS', d, 1):
                     deps += 'libtool-cross '