diff options
Diffstat (limited to 'classes/imx-boot-container.bbclass')
-rw-r--r-- | classes/imx-boot-container.bbclass | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/classes/imx-boot-container.bbclass b/classes/imx-boot-container.bbclass index 41fe9cca..3f788900 100644 --- a/classes/imx-boot-container.bbclass +++ b/classes/imx-boot-container.bbclass | |||
@@ -85,10 +85,17 @@ do_deploy_append() { | |||
85 | j=$(expr $j + 1); | 85 | j=$(expr $j + 1); |
86 | if [ $j -eq $i ] | 86 | if [ $j -eq $i ] |
87 | then | 87 | then |
88 | install -m 0644 ${B}/${config}/u-boot.itb ${DEPLOYDIR}/u-boot.itb-${MACHINE}-${UBOOT_CONFIG} | 88 | install -m 0644 ${B}/${config}/u-boot.itb ${DEPLOYDIR}/u-boot.itb-${MACHINE}-${type} |
89 | install -m 0644 ${B}/${config}/flash.bin ${DEPLOYDIR}/flash.bin-${MACHINE}-${UBOOT_CONFIG} | 89 | install -m 0644 ${B}/${config}/flash.bin ${DEPLOYDIR}/flash.bin-${MACHINE}-${type} |
90 | ln -sf u-boot.itb-${MACHINE}-${UBOOT_CONFIG} u-boot.itb | 90 | # When there's more than one word in UBOOT_CONFIG, |
91 | ln -sf flash.bin-${MACHINE}-${UBOOT_CONFIG} flash.bin | 91 | # this will overwrite the links created in |
92 | # previous loop iterations, effectively making | ||
93 | # u-boot.itb and flash.bin correspond to the _last_ | ||
94 | # word in UBOOT_CONFIG. This is also how all other | ||
95 | # artifacts handled by oe-core's u-boot.inc are | ||
96 | # treated. | ||
97 | ln -sf u-boot.itb-${MACHINE}-${type} u-boot.itb | ||
98 | ln -sf flash.bin-${MACHINE}-${type} flash.bin | ||
92 | fi | 99 | fi |
93 | done | 100 | done |
94 | unset j | 101 | unset j |