summaryrefslogtreecommitdiffstats
path: root/classes/imx-boot-container.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/imx-boot-container.bbclass')
-rw-r--r--classes/imx-boot-container.bbclass16
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