mirror of
https://git.yoctoproject.org/poky
synced 2026-04-29 18:32:20 +02:00
base/autotools.bbclass: Make sure extra dependencies are not lost for native and nativesdk BBCLASSEXTEND. Ugly but no simpler/neater way seems possible
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -22,7 +22,11 @@ def autotools_dep_prepend(d):
|
||||
return deps + 'gnu-config-native '
|
||||
|
||||
EXTRA_OEMAKE = ""
|
||||
|
||||
DEPENDS_prepend = "${@autotools_dep_prepend(d)}"
|
||||
DEPENDS_virtclass-native_prepend = "${@autotools_dep_prepend(d)}"
|
||||
DEPENDS_virtclass-nativesdk_prepend = "${@autotools_dep_prepend(d)}"
|
||||
|
||||
acpaths = "default"
|
||||
EXTRA_AUTORECONF = "--exclude=autopoint"
|
||||
|
||||
|
||||
@@ -158,6 +158,8 @@ def base_both_contain(variable1, variable2, checkvalue, d):
|
||||
return ""
|
||||
|
||||
DEPENDS_prepend="${@base_dep_prepend(d)} "
|
||||
DEPENDS_virtclass-native_prepend="${@base_dep_prepend(d)} "
|
||||
DEPENDS_virtclass-nativesdk_prepend="${@base_dep_prepend(d)} "
|
||||
|
||||
def base_prune_suffix(var, suffixes, d):
|
||||
# See if var ends with any of the suffixes listed and
|
||||
|
||||
@@ -91,8 +91,6 @@ python __anonymous () {
|
||||
pn = bb.data.getVar("PN", d, True)
|
||||
depends = bb.data.getVar("DEPENDS", d, True)
|
||||
deps = bb.utils.explode_deps(depends)
|
||||
depends = bb.data.getVar("DEPENDS", d, True)
|
||||
deps = bb.utils.explode_deps(depends)
|
||||
newdeps = []
|
||||
if "native" in (bb.data.getVar('BBCLASSEXTEND', d, True) or ""):
|
||||
autoextend = True
|
||||
|
||||
Reference in New Issue
Block a user