[oe] [PATCH 2/4] autotools: shift deps into AUTOTOOLS_DEPENDS

Chris Larson kergoth at gmail.com
Wed Feb 16 22:07:41 UTC 2011


From: Chris Larson <chris_larson at mentor.com>

Signed-off-by: Chris Larson <chris_larson at mentor.com>
---
 classes/autotools.bbclass |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass
index 60925e9..3c124ae 100644
--- a/classes/autotools.bbclass
+++ b/classes/autotools.bbclass
@@ -21,11 +21,13 @@ def autotools_deps(d):
             not d.getVar('INHIBIT_DEFAULT_DEPS', True)):
             deps += 'libtool-cross '
 
-    return deps + 'gnu-config-native '
+    return deps + ' gnu-config-native'
 
-DEPENDS_prepend = "${@autotools_deps(d)}"
-DEPENDS_virtclass-native_prepend = "${@autotools_deps(d)}"
-DEPENDS_virtclass-nativesdk_prepend = "${@autotools_deps(d)}"
+AUTOTOOLS_DEPENDS = "${@autotools_deps(d)}"
+
+DEPENDS_prepend = "${AUTOTOOLS_DEPENDS} "
+DEPENDS_virtclass-native_prepend = "${AUTOTOOLS_DEPENDS} "
+DEPENDS_virtclass-nativesdk_prepend = "${AUTOTOOLS_DEPENDS} "
 
 autotools_do_configure () {
     autotools_do_bootstrap
-- 
1.7.2.3





More information about the Openembedded-devel mailing list