summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorLianhao Lu <lianhao.lu@intel.com>2012-03-31 14:49:23 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-31 17:59:08 +0100
commit6333c5fb7fde81e6c625cd866991d0b47d8916d1 (patch)
tree36c7f3396d5b8025f5a144a94e0b309192de7928 /meta/classes
parent3180dd2b14cda896cee029535442db033ad4e84b (diff)
downloadpoky-6333c5fb7fde81e6c625cd866991d0b47d8916d1.tar.gz
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 <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/autotools.bbclass1
1 files changed, 1 insertions, 0 deletions
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):
12 if not pn in ['libtool', 'libtool-native'] and not pn.endswith("libtool-cross"): 12 if not pn in ['libtool', 'libtool-native'] and not pn.endswith("libtool-cross"):
13 deps += 'libtool-native ' 13 deps += 'libtool-native '
14 if not bb.data.inherits_class('native', d) \ 14 if not bb.data.inherits_class('native', d) \
15 and not bb.data.inherits_class('nativesdk', d) \
15 and not bb.data.inherits_class('cross', d) \ 16 and not bb.data.inherits_class('cross', d) \
16 and not d.getVar('INHIBIT_DEFAULT_DEPS', True): 17 and not d.getVar('INHIBIT_DEFAULT_DEPS', True):
17 deps += 'libtool-cross ' 18 deps += 'libtool-cross '