diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2023-10-05 16:54:36 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-05 16:54:36 -0300 |
commit | f5cc0843233ad0df25aaf801198f67a9c1774a54 (patch) | |
tree | ed45c40759ab475c613cc17a16f821b81e8fd31f /classes/imx-boot-container.bbclass | |
parent | 3e9ef23d98aa842cf84251a27c9b8dde8925ea61 (diff) | |
parent | 8bf41abe2a57beb4dec99e3655a79e4754bb0f18 (diff) | |
download | meta-freescale-f5cc0843233ad0df25aaf801198f67a9c1774a54.tar.gz |
Merge pull request #1659 from JPSGoncalves/backport-1642-and-1657-to-kirkstone
Backport 1642, 1657 and 1652 to kirkstone - multiple boot binaries
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 aa897045..3c6a89ed 100644 --- a/classes/imx-boot-container.bbclass +++ b/classes/imx-boot-container.bbclass | |||
@@ -93,14 +93,14 @@ do_deploy:append() { | |||
93 | then | 93 | then |
94 | install -m 0644 ${B}/${config}/flash.bin ${DEPLOYDIR}/flash.bin-${MACHINE}-${type} | 94 | install -m 0644 ${B}/${config}/flash.bin ${DEPLOYDIR}/flash.bin-${MACHINE}-${type} |
95 | # When there's more than one word in UBOOT_CONFIG, | 95 | # When there's more than one word in UBOOT_CONFIG, |
96 | # this will overwrite the links created in | 96 | # the first UBOOT_CONFIG listed will be the imx-boot binary |
97 | # previous loop iterations, effectively making | 97 | if [ ! -f "${DEPLOYDIR}/imx-boot" ]; then |
98 | # u-boot.itb and flash.bin correspond to the _last_ | 98 | ln -sf flash.bin-${MACHINE}-${type} flash.bin |
99 | # word in UBOOT_CONFIG. This is also how all other | 99 | ln -sf flash.bin-${MACHINE}-${type} imx-boot |
100 | # artifacts handled by oe-core's u-boot.inc are | 100 | |
101 | # treated. | 101 | else |
102 | ln -sf flash.bin-${MACHINE}-${type} flash.bin | 102 | bbwarn "Use custom wks.in for $UBOOT_CONFIG = $type" |
103 | ln -sf flash.bin-${MACHINE}-${type} imx-boot | 103 | fi |
104 | fi | 104 | fi |
105 | done | 105 | done |
106 | unset j | 106 | unset j |