From cce708b925c1f5dad2f95dbde4742d423260d31b Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 18 Feb 2025 15:15:07 +0000 Subject: 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 --- meta/classes-global/base.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 () { if "DEPENDS" in varname or varname.startswith("RRECOMMENDS"): if bb.data.inherits_class('nativesdk', d) or bb.data.inherits_class('cross-canadian', d) : appends = expandFilter(appends, "", "nativesdk-") - elif bb.data.inherits_class('native', d): + elif bb.data.inherits_class('native', d) or bb.data.inherits_class('cross', d): appends = expandFilter(appends, "-native", "") elif mlprefix: appends = expandFilter(appends, "", mlprefix) -- cgit v1.2.3-54-g00ecf