diff options
| author | Luciano Dittgen <luciano.dittgen@ossystems.com.br> | 2026-09-08 14:16:31 -0300 |
|---|---|---|
| committer | Luciano Dittgen <luciano.dittgen@ossystems.com.br> | 2026-09-10 14:12:25 -0300 |
| commit | 7b45fea945631df553e426eff4a5c2cc167705aa (patch) | |
| tree | 0338331c7c08e4bbe36f5d62ed4e16be3e399ff1 | |
| parent | 3123aad222b2d6c2cfbfd04582f7514b023acfe3 (diff) | |
| download | meta-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.bbclass | 3 |
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}" | |||
| 59 | do_populate_mfgtool[recrdeptask] += "do_deploy" | 59 | do_populate_mfgtool[recrdeptask] += "do_deploy" |
| 60 | do_populate_mfgtool[depends] += "uuu-bin:do_populate_sysroot" | 60 | do_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 | ||
| 62 | python () { | 65 | python () { |
| 63 | depends = [] | 66 | depends = [] |
| 64 | deploy_files = "" | 67 | deploy_files = "" |
