summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuciano Dittgen <luciano.dittgen@ossystems.com.br>2026-09-08 14:16:31 -0300
committerLuciano Dittgen <luciano.dittgen@ossystems.com.br>2026-09-10 14:12:25 -0300
commit7b45fea945631df553e426eff4a5c2cc167705aa (patch)
tree0338331c7c08e4bbe36f5d62ed4e16be3e399ff1
parent3123aad222b2d6c2cfbfd04582f7514b023acfe3 (diff)
downloadmeta-freescale-7b45fea945631df553e426eff4a5c2cc167705aa.tar.gz
image_populate_mfgtool: Document the MFGTOOLCONFIG parse loop
The loop enumerates the varflags of MFGTOOLCONFIG, which BitBake has no declarative syntax for, and it feeds do_populate_mfgtool[depends], which must be set before the task graph is built. Computing the two values with an inline ${@...} would move the flag validation into expansion, where it no longer fails the parse. OE-core parses PACKAGECONFIG the same way. Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
-rw-r--r--classes/image_populate_mfgtool.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/image_populate_mfgtool.bbclass b/classes/image_populate_mfgtool.bbclass
index 43f5fd704..ee3d52226 100644
--- a/classes/image_populate_mfgtool.bbclass
+++ b/classes/image_populate_mfgtool.bbclass
@@ -59,6 +59,9 @@ do_populate_mfgtool[dirs] += "${DEPLOY_DIR_IMAGE} ${WORKDIR}"
59do_populate_mfgtool[recrdeptask] += "do_deploy" 59do_populate_mfgtool[recrdeptask] += "do_deploy"
60do_populate_mfgtool[depends] += "uuu-bin:do_populate_sysroot" 60do_populate_mfgtool[depends] += "uuu-bin:do_populate_sysroot"
61 61
62# MFGTOOLCONFIG is parsed like PACKAGECONFIG: BitBake cannot enumerate varflags
63# declaratively, and do_populate_mfgtool[depends] must exist before the task graph.
64# nooelint: oelint.task.noanonpython
62python () { 65python () {
63 depends = [] 66 depends = []
64 deploy_files = "" 67 deploy_files = ""