]> code.ossystems Code Review - openembedded-core.git/commitdiff
autotools.bbclass: Drop -nativesdk dependency to lib-cross.
authorLianhao Lu <lianhao.lu@intel.com>
Sat, 31 Mar 2012 06:49:23 +0000 (14:49 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 31 Mar 2012 15:47:36 +0000 (16:47 +0100)
-nativesdk recipes should not have dependency to lib-cross, which is
never used. This unnecessary dependency would result different task hash
values in sstate for different MACHINE settings.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/autotools.bbclass

index 66eba9fad07922a41bdc5b036345cf29fbd3feea..941c06d0320ca85e39be1ddef2d64fec94f53123 100644 (file)
@@ -12,6 +12,7 @@ def autotools_dep_prepend(d):
        if not pn in ['libtool', 'libtool-native'] and not pn.endswith("libtool-cross"):
                deps += 'libtool-native '
                if not bb.data.inherits_class('native', d) \
+                        and not bb.data.inherits_class('nativesdk', d) \
                         and not bb.data.inherits_class('cross', d) \
                         and not d.getVar('INHIBIT_DEFAULT_DEPS', True):
                     deps += 'libtool-cross '