diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2023-09-26 09:07:21 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-26 09:07:21 -0300 |
commit | aa48cdb4dca363398d4a2173125a31b904e7b12f (patch) | |
tree | 705d6124855677ac6bde0ab3407e3270601108ac /classes/imx-boot-container.bbclass | |
parent | 66552db05b59eecd551a1cf2f94cfaf9239a7379 (diff) | |
parent | e61f27077d7f92713d8b97a642fc2e196ba6508d (diff) | |
download | meta-freescale-aa48cdb4dca363398d4a2173125a31b904e7b12f.tar.gz |
Merge pull request #1642 from angolini/multiple-uboot
Multiple uboot
Diffstat (limited to 'classes/imx-boot-container.bbclass')
-rw-r--r-- | classes/imx-boot-container.bbclass | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/classes/imx-boot-container.bbclass b/classes/imx-boot-container.bbclass index 308e75d7..53c70a0b 100644 --- a/classes/imx-boot-container.bbclass +++ b/classes/imx-boot-container.bbclass | |||
@@ -92,14 +92,14 @@ do_deploy:append() { | |||
92 | then | 92 | then |
93 | install -m 0644 ${B}/${config}/flash.bin ${DEPLOYDIR}/flash.bin-${MACHINE}-${type} | 93 | install -m 0644 ${B}/${config}/flash.bin ${DEPLOYDIR}/flash.bin-${MACHINE}-${type} |
94 | # When there's more than one word in UBOOT_CONFIG, | 94 | # When there's more than one word in UBOOT_CONFIG, |
95 | # this will overwrite the links created in | 95 | # the first UBOOT_CONFIG listed will be the imx-boot binary |
96 | # previous loop iterations, effectively making | 96 | if [ ! -f "${DEPLOYDIR}/imx-boot" ]; then |
97 | # u-boot.itb and flash.bin correspond to the _last_ | 97 | ln -sf flash.bin-${MACHINE}-${type} flash.bin |
98 | # word in UBOOT_CONFIG. This is also how all other | 98 | ln -sf flash.bin-${MACHINE}-${type} imx-boot |
99 | # artifacts handled by oe-core's u-boot.inc are | 99 | |
100 | # treated. | 100 | else |
101 | ln -sf flash.bin-${MACHINE}-${type} flash.bin | 101 | bbwarn "Use custom wks.in for $UBOOT_CONFIG = $type" |
102 | ln -sf flash.bin-${MACHINE}-${type} imx-boot | 102 | fi |
103 | fi | 103 | fi |
104 | done | 104 | done |
105 | unset j | 105 | unset j |