summaryrefslogtreecommitdiffstats
path: root/meta/classes-global/base.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2025-02-18 15:15:07 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-02-18 22:53:45 +0000
commitcce708b925c1f5dad2f95dbde4742d423260d31b (patch)
tree3e27f5c670b10dd2e78ebf6c085d5eab95434c72 /meta/classes-global/base.bbclass
parenta7b14b3ca2f8a9bfecbfd4156ed355bb805f46c1 (diff)
downloadpoky-cce708b925c1f5dad2f95dbde4742d423260d31b.tar.gz
base: Fix PACKAGECONFIG handling for cross recipes
We don't have many cross recipes that use PACKAGECONFIG but gdb-cross does, so correctly remap dependencies for that case allowing the gdb recipe to be simplified. (From OE-Core rev: c5bb7976f4d6e8559b4b87e4c3f39135dbb40ef8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-global/base.bbclass')
-rw-r--r--meta/classes-global/base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-global/base.bbclass b/meta/classes-global/base.bbclass
index 924f319999..8215969c7b 100644
--- a/meta/classes-global/base.bbclass
+++ b/meta/classes-global/base.bbclass
@@ -464,7 +464,7 @@ python () {
464 if "DEPENDS" in varname or varname.startswith("RRECOMMENDS"): 464 if "DEPENDS" in varname or varname.startswith("RRECOMMENDS"):
465 if bb.data.inherits_class('nativesdk', d) or bb.data.inherits_class('cross-canadian', d) : 465 if bb.data.inherits_class('nativesdk', d) or bb.data.inherits_class('cross-canadian', d) :
466 appends = expandFilter(appends, "", "nativesdk-") 466 appends = expandFilter(appends, "", "nativesdk-")
467 elif bb.data.inherits_class('native', d): 467 elif bb.data.inherits_class('native', d) or bb.data.inherits_class('cross', d):
468 appends = expandFilter(appends, "-native", "") 468 appends = expandFilter(appends, "-native", "")
469 elif mlprefix: 469 elif mlprefix:
470 appends = expandFilter(appends, "", mlprefix) 470 appends = expandFilter(appends, "", mlprefix)