From: Ting Liu <[email protected]>
Signed-off-by: Ting Liu <[email protected]>>
---
recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb | 38 +++++++++++++++---------------
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb
b/recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb
index e86bc7c..56fd692 100644
--- a/recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb
+++ b/recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb
@@ -92,26 +92,26 @@ do_compile_append_qoriq-ppc() {
}
do_compile_append_qoriq-arm () {
-unset i j
+ unset i j
if [ "x${UBOOT_CONFIG}" != "x" ]; then
- for config in ${UBOOT_MACHINE}; do
- i=`expr $i + 1`;
- for type in ${UBOOT_CONFIG}; do
- j=`expr $j + 1`;
- if [ $j -eq $i ]; then
- case "${config}" in
- *nand* | *sdcard*)
- cp ${config}/u-boot-with-spl-pbl.bin
${config}/u-boot-${type}.${UBOOT_SUFFIX};;
- *spi*)
- tclsh ${STAGING_BINDIR_NATIVE}/byte_swap.tcl
${config}/u-boot-dtb.bin ${config}/u-boot.swap.bin 8
- cp ${config}/u-boot.swap.bin
${config}/u-boot-${type}.${UBOOT_SUFFIX};;
- esac
- fi
- done
- unset j
- done
- unset i
- fi
+ for config in ${UBOOT_MACHINE}; do
+ i=`expr $i + 1`;
+ for type in ${UBOOT_CONFIG}; do
+ j=`expr $j + 1`;
+ if [ $j -eq $i ]; then
+ case "${config}" in
+ *nand* | *sdcard*)
+ cp ${config}/u-boot-with-spl-pbl.bin
${config}/u-boot-${type}.${UBOOT_SUFFIX};;
+ *spi*)
+ tclsh ${STAGING_BINDIR_NATIVE}/byte_swap.tcl
${config}/u-boot-dtb.bin ${config}/u-boot.swap.bin 8
+ cp ${config}/u-boot.swap.bin
${config}/u-boot-${type}.${UBOOT_SUFFIX};;
+ esac
+ fi
+ done
+ unset j
+ done
+ unset i
+ fi
}
--
1.9.2
--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale