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 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