Message ID | 20241210062455.3666288-1-changqing.li@windriver.com |
---|---|
State | Accepted, archived |
Commit | 2f539a1318a80d3ad5d0d43a9ba4070465e402af |
Headers | show |
Series | [V2] base.bbclass: fix RRECOMMENDS extend issue for multilib | expand |
diff --git a/meta/classes-global/base.bbclass b/meta/classes-global/base.bbclass index b81e61fdb7..101ecdcf0f 100644 --- a/meta/classes-global/base.bbclass +++ b/meta/classes-global/base.bbclass @@ -471,7 +471,7 @@ python () { def appendVar(varname, appends): if not appends: return - if varname.find("DEPENDS") != -1: + 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):