diff options
| author | Luciano Dittgen <luciano.dittgen@ossystems.com.br> | 2026-09-04 13:44:58 -0300 |
|---|---|---|
| committer | Luciano Dittgen <luciano.dittgen@ossystems.com.br> | 2026-09-04 13:49:53 -0300 |
| commit | 18a3d6a07269b0cca8623aec94ff781fca676733 (patch) | |
| tree | 0443f8cc94ec09f5550e3fcc300a89a33fe5d177 | |
| parent | 9d95af68d68d3b035cd0be2cd2b7158610b2f585 (diff) | |
| download | meta-freescale-18a3d6a07269b0cca8623aec94ff781fca676733.tar.gz | |
imx-boot: Quote IMXBOOT_TARGETS on the assignment line
A line continuation before the opening quote hides the value from every
reader and tool that looks at the assignment line, and a stray space
after the backslash breaks the parse silently. Only the Python source
inside ${@...} is reflowed, so the value is unchanged. Tested with
bitbake imx-boot -c deploy -f on imx8mp-lpddr4-evk; the deployed boot
images are byte-identical.
Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
| -rw-r--r-- | recipes-bsp/imx-mkimage/imx-boot_1.0.bb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/recipes-bsp/imx-mkimage/imx-boot_1.0.bb b/recipes-bsp/imx-mkimage/imx-boot_1.0.bb index 0b0a69116..87efe60ff 100644 --- a/recipes-bsp/imx-mkimage/imx-boot_1.0.bb +++ b/recipes-bsp/imx-mkimage/imx-boot_1.0.bb | |||
| @@ -62,10 +62,9 @@ IMX_BOOT_SOC_TARGET ?= "INVALID" | |||
| 62 | DEPLOY_OPTEE = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'true', 'false', d)}" | 62 | DEPLOY_OPTEE = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'true', 'false', d)}" |
| 63 | DEPLOY_OPTEE_STMM = "${@bb.utils.contains('MACHINE_FEATURES', 'optee stmm', 'true', 'false', d)}" | 63 | DEPLOY_OPTEE_STMM = "${@bb.utils.contains('MACHINE_FEATURES', 'optee stmm', 'true', 'false', d)}" |
| 64 | 64 | ||
| 65 | IMXBOOT_TARGETS ?= \ | 65 | IMXBOOT_TARGETS ?= "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_flexspi', \ |
| 66 | "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_flexspi', \ | 66 | bb.utils.contains('UBOOT_CONFIG', 'nand', 'flash_nand', \ |
| 67 | bb.utils.contains('UBOOT_CONFIG', 'nand', 'flash_nand', \ | 67 | 'flash_multi_cores flash_dcd', d), d)}" |
| 68 | 'flash_multi_cores flash_dcd', d), d)}" | ||
| 69 | 68 | ||
| 70 | BOOT_STAGING = "${S}/${IMX_BOOT_SOC_TARGET}" | 69 | BOOT_STAGING = "${S}/${IMX_BOOT_SOC_TARGET}" |
| 71 | BOOT_STAGING:mx8m-generic-bsp = "${S}/iMX8M" | 70 | BOOT_STAGING:mx8m-generic-bsp = "${S}/iMX8M" |
