From 6333c5fb7fde81e6c625cd866991d0b47d8916d1 Mon Sep 17 00:00:00 2001 From: Lianhao Lu Date: Sat, 31 Mar 2012 14:49:23 +0800 Subject: autotools.bbclass: Drop -nativesdk dependency to lib-cross. -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. (From OE-Core rev: 313deb802c5411c6c88655057f05a7d8823d999c) Signed-off-by: Lianhao Lu Signed-off-by: Richard Purdie --- meta/classes/autotools.bbclass | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/classes/autotools.bbclass') diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index 66eba9fad0..941c06d032 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass @@ -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 ' -- cgit v1.2.3-54-g00ecf