[oe-commits] Lianhao Lu : autotools.bbclass: Drop -nativesdk dependency to lib-cross.

git at git.openembedded.org git at git.openembedded.org
Sat Mar 31 17:10:21 UTC 2012


Module: openembedded-core.git
Branch: master-next
Commit: 313deb802c5411c6c88655057f05a7d8823d999c
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=313deb802c5411c6c88655057f05a7d8823d999c

Author: Lianhao Lu <lianhao.lu at intel.com>
Date:   Sat Mar 31 14:49:23 2012 +0800

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.

Signed-off-by: Lianhao Lu <lianhao.lu at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/autotools.bbclass |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 66eba9f..941c06d 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 '





More information about the Openembedded-commits mailing list