summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe/packagegroup.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-12-31 13:27:50 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-01-18 10:15:58 +0000
commitc917323a39da6fc3e8d92b2fe907d0357149c9bb (patch)
tree254fd4963f6a7c0f65f5cc9aa1834158fc94b457 /meta/classes-recipe/packagegroup.bbclass
parentbc883e49912b8d0cdc9ea403e85f2cb3198b48ff (diff)
downloadpoky-c917323a39da6fc3e8d92b2fe907d0357149c9bb.tar.gz
classes/recipes: Switch to use inherit_defer
Now that bitbake supports the use of inherit_defer, switch all conditional (variable based) inherits to use this instead. This leads to more a more deterministic user experience since there is no longer an immediate expansion and later changes to the variables in question (e.g. a bbappend) are accounted for. This patch tries to ensure the behaviour before/after remains as unchanged as it reasonably can, e.g. by always inherting populate_sdk_base. native and nativesdk continue to need to be inherited last, hence being used with inherit_defer in a handful of very specific cases. (From OE-Core rev: 451363438d38bd4552d5bcec4a92332f5819a5d4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/packagegroup.bbclass')
-rw-r--r--meta/classes-recipe/packagegroup.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/packagegroup.bbclass b/meta/classes-recipe/packagegroup.bbclass
index c2db664904..cf6fc354a8 100644
--- a/meta/classes-recipe/packagegroup.bbclass
+++ b/meta/classes-recipe/packagegroup.bbclass
@@ -22,7 +22,7 @@ PACKAGE_ARCH_EXPANDED := "${PACKAGE_ARCH}"
22 22
23LICENSE ?= "MIT" 23LICENSE ?= "MIT"
24 24
25inherit ${@oe.utils.ifelse(d.getVar('PACKAGE_ARCH_EXPANDED') == 'all', 'allarch', '')} 25inherit_defer ${@oe.utils.ifelse(d.getVar('PACKAGE_ARCH_EXPANDED') == 'all', 'allarch', '')}
26 26
27# This automatically adds -dbg and -dev flavours of all PACKAGES 27# This automatically adds -dbg and -dev flavours of all PACKAGES
28# to the list. Their dependencies (RRECOMMENDS) are handled as usual 28# to the list. Their dependencies (RRECOMMENDS) are handled as usual