]> code.ossystems Code Review - meta-freescale.git/commitdiff
u-boot: not use == to compatible with dash
authorTing Liu <b28495@freescale.com>
Tue, 2 Jul 2013 03:39:02 +0000 (03:39 +0000)
committerZhenhua Luo <zhenhua.luo@freescale.com>
Wed, 3 Jul 2013 02:44:57 +0000 (10:44 +0800)
Signed-off-by: Ting Liu <b28495@freescale.com>
Tested-by: Luo Zhenhua-B19537 <zhenhua.luo@freescale.com>
meta-fsl-ppc/recipes-kernel/u-boot/u-boot_git.bb

index 7427dfc8b7f630000057d4b5bf84aa7e93bc2c68..c3aa1053583e4d2c3e4a5357781b5359d592a822 100644 (file)
@@ -47,7 +47,7 @@ do_compile () {
        unset CFLAGS
        unset CPPFLAGS
 
-       if [ "x${UBOOT_MACHINES}" == "x" ]; then
+       if [ "x${UBOOT_MACHINES}" = "x" ]; then
                UBOOT_MACHINES=${UBOOT_MACHINE}
        fi
 
@@ -64,9 +64,9 @@ do_compile () {
                esac
 
                if [ "x${UBOOT_TARGET}" != "x" ]; then
-                       if [ "${UBOOT_TARGET}" == "u-boot-sd" ]; then
+                       if [ "${UBOOT_TARGET}" = "u-boot-sd" ]; then
                                cp ${S}/${board}/u-boot.bin  ${S}/${board}/${UBOOT_TARGET}.bin
-            elif [ "${UBOOT_TARGET}" == "u-boot-nand" ];then
+            elif [ "${UBOOT_TARGET}" = "u-boot-nand" ];then
                                if [ "${DEFAULTTUNE}" = "ppce500v2" ];then
                     if echo $board |egrep "(P1010RDB|P1020RDB|P1021RDB|P1024RDB|P2020RDB|P1022DS|P1025RDB|BSC9131RDB|BSC9132QDS)" 2>&1 >/dev/null;then
                         cp ${S}/${board}/u-boot-with-spl.bin ${S}/${board}/${UBOOT_TARGET}.bin
@@ -88,7 +88,7 @@ do_compile () {
 }
 
 do_install(){
-       if [ "x${UBOOT_MACHINES}" == "x" ]; then
+       if [ "x${UBOOT_MACHINES}" = "x" ]; then
                UBOOT_MACHINES=${UBOOT_MACHINE}
        fi
 
@@ -109,7 +109,7 @@ do_install(){
 }
 
 do_deploy(){
-       if [ "x${UBOOT_MACHINES}" == "x" ]; then
+       if [ "x${UBOOT_MACHINES}" = "x" ]; then
                UBOOT_MACHINES=${UBOOT_MACHINE}
        fi