summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/autotools.bbclass4
-rw-r--r--meta/classes/base.bbclass2
-rw-r--r--meta/classes/native.bbclass2
3 files changed, 6 insertions, 2 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 57a8b0ed18..1fb65715b3 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -22,7 +22,11 @@ def autotools_dep_prepend(d):
22 return deps + 'gnu-config-native ' 22 return deps + 'gnu-config-native '
23 23
24EXTRA_OEMAKE = "" 24EXTRA_OEMAKE = ""
25
25DEPENDS_prepend = "${@autotools_dep_prepend(d)}" 26DEPENDS_prepend = "${@autotools_dep_prepend(d)}"
27DEPENDS_virtclass-native_prepend = "${@autotools_dep_prepend(d)}"
28DEPENDS_virtclass-nativesdk_prepend = "${@autotools_dep_prepend(d)}"
29
26acpaths = "default" 30acpaths = "default"
27EXTRA_AUTORECONF = "--exclude=autopoint" 31EXTRA_AUTORECONF = "--exclude=autopoint"
28 32
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 5efa6c2128..053d80f6fd 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -158,6 +158,8 @@ def base_both_contain(variable1, variable2, checkvalue, d):
158 return "" 158 return ""
159 159
160DEPENDS_prepend="${@base_dep_prepend(d)} " 160DEPENDS_prepend="${@base_dep_prepend(d)} "
161DEPENDS_virtclass-native_prepend="${@base_dep_prepend(d)} "
162DEPENDS_virtclass-nativesdk_prepend="${@base_dep_prepend(d)} "
161 163
162def base_prune_suffix(var, suffixes, d): 164def base_prune_suffix(var, suffixes, d):
163 # See if var ends with any of the suffixes listed and 165 # See if var ends with any of the suffixes listed and
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass
index 2bd0cf3dfe..8a5e5f133f 100644
--- a/meta/classes/native.bbclass
+++ b/meta/classes/native.bbclass
@@ -91,8 +91,6 @@ python __anonymous () {
91 pn = bb.data.getVar("PN", d, True) 91 pn = bb.data.getVar("PN", d, True)
92 depends = bb.data.getVar("DEPENDS", d, True) 92 depends = bb.data.getVar("DEPENDS", d, True)
93 deps = bb.utils.explode_deps(depends) 93 deps = bb.utils.explode_deps(depends)
94 depends = bb.data.getVar("DEPENDS", d, True)
95 deps = bb.utils.explode_deps(depends)
96 newdeps = [] 94 newdeps = []
97 if "native" in (bb.data.getVar('BBCLASSEXTEND', d, True) or ""): 95 if "native" in (bb.data.getVar('BBCLASSEXTEND', d, True) or ""):
98 autoextend = True 96 autoextend = True