summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/u-boot/u-boot.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-bsp/u-boot/u-boot.inc')
-rw-r--r--meta/recipes-bsp/u-boot/u-boot.inc54
1 files changed, 27 insertions, 27 deletions
diff --git a/meta/recipes-bsp/u-boot/u-boot.inc b/meta/recipes-bsp/u-boot/u-boot.inc
index 95c2f4db14..48fbc57215 100644
--- a/meta/recipes-bsp/u-boot/u-boot.inc
+++ b/meta/recipes-bsp/u-boot/u-boot.inc
@@ -231,7 +231,7 @@ do_deploy () {
231 rm -f ${UBOOT_BINARY} ${UBOOT_SYMLINK} 231 rm -f ${UBOOT_BINARY} ${UBOOT_SYMLINK}
232 ln -sf ${UBOOT_IMAGE} ${UBOOT_SYMLINK} 232 ln -sf ${UBOOT_IMAGE} ${UBOOT_SYMLINK}
233 ln -sf ${UBOOT_IMAGE} ${UBOOT_BINARY} 233 ln -sf ${UBOOT_IMAGE} ${UBOOT_BINARY}
234 fi 234 fi
235 235
236 if [ -n "${UBOOT_ELF}" ] 236 if [ -n "${UBOOT_ELF}" ]
237 then 237 then
@@ -263,32 +263,32 @@ do_deploy () {
263 263
264 if [ -n "${SPL_BINARY}" ] 264 if [ -n "${SPL_BINARY}" ]
265 then 265 then
266 if [ -n "${UBOOT_CONFIG}" ] 266 if [ -n "${UBOOT_CONFIG}" ]
267 then 267 then
268 for config in ${UBOOT_MACHINE}; do 268 for config in ${UBOOT_MACHINE}; do
269 i=$(expr $i + 1); 269 i=$(expr $i + 1);
270 for type in ${UBOOT_CONFIG}; do 270 for type in ${UBOOT_CONFIG}; do
271 j=$(expr $j + 1); 271 j=$(expr $j + 1);
272 if [ $j -eq $i ] 272 if [ $j -eq $i ]
273 then 273 then
274 install -m 644 ${B}/${config}/${SPL_BINARY} ${DEPLOYDIR}/${SPL_IMAGE}-${type}-${PV}-${PR} 274 install -m 644 ${B}/${config}/${SPL_BINARY} ${DEPLOYDIR}/${SPL_IMAGE}-${type}-${PV}-${PR}
275 rm -f ${DEPLOYDIR}/${SPL_BINARYNAME} ${DEPLOYDIR}/${SPL_SYMLINK}-${type} 275 rm -f ${DEPLOYDIR}/${SPL_BINARYNAME} ${DEPLOYDIR}/${SPL_SYMLINK}-${type}
276 ln -sf ${SPL_IMAGE}-${type}-${PV}-${PR} ${DEPLOYDIR}/${SPL_BINARYNAME}-${type} 276 ln -sf ${SPL_IMAGE}-${type}-${PV}-${PR} ${DEPLOYDIR}/${SPL_BINARYNAME}-${type}
277 ln -sf ${SPL_IMAGE}-${type}-${PV}-${PR} ${DEPLOYDIR}/${SPL_BINARYNAME} 277 ln -sf ${SPL_IMAGE}-${type}-${PV}-${PR} ${DEPLOYDIR}/${SPL_BINARYNAME}
278 ln -sf ${SPL_IMAGE}-${type}-${PV}-${PR} ${DEPLOYDIR}/${SPL_SYMLINK}-${type} 278 ln -sf ${SPL_IMAGE}-${type}-${PV}-${PR} ${DEPLOYDIR}/${SPL_SYMLINK}-${type}
279 ln -sf ${SPL_IMAGE}-${type}-${PV}-${PR} ${DEPLOYDIR}/${SPL_SYMLINK} 279 ln -sf ${SPL_IMAGE}-${type}-${PV}-${PR} ${DEPLOYDIR}/${SPL_SYMLINK}
280 fi 280 fi
281 done 281 done
282 unset j 282 unset j
283 done 283 done
284 unset i 284 unset i
285 else 285 else
286 install -m 644 ${B}/${SPL_BINARY} ${DEPLOYDIR}/${SPL_IMAGE} 286 install -m 644 ${B}/${SPL_BINARY} ${DEPLOYDIR}/${SPL_IMAGE}
287 rm -f ${DEPLOYDIR}/${SPL_BINARYNAME} ${DEPLOYDIR}/${SPL_SYMLINK} 287 rm -f ${DEPLOYDIR}/${SPL_BINARYNAME} ${DEPLOYDIR}/${SPL_SYMLINK}
288 ln -sf ${SPL_IMAGE} ${DEPLOYDIR}/${SPL_BINARYNAME} 288 ln -sf ${SPL_IMAGE} ${DEPLOYDIR}/${SPL_BINARYNAME}
289 ln -sf ${SPL_IMAGE} ${DEPLOYDIR}/${SPL_SYMLINK} 289 ln -sf ${SPL_IMAGE} ${DEPLOYDIR}/${SPL_SYMLINK}
290 fi 290 fi
291 fi 291 fi
292 292
293 293
294 if [ -n "${UBOOT_ENV}" ] 294 if [ -n "${UBOOT_ENV}" ]