Return-Path: Received: from db8outboundpool.messaging.microsoft.com (mail-db8lp0185.outbound.messaging.microsoft.com [213.199.154.185]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 248F0E013EC for ; Mon, 1 Jul 2013 20:39:14 -0700 (PDT) Received: from mail57-db8-R.bigfish.com (10.174.8.252) by DB8EHSOBE041.bigfish.com (10.174.4.104) with Microsoft SMTP Server id 14.1.225.23; Tue, 2 Jul 2013 03:39:13 +0000 Received: from mail57-db8 (localhost [127.0.0.1]) by mail57-db8-R.bigfish.com (Postfix) with ESMTP id 6A4165C0082 for ; Tue, 2 Jul 2013 03:39:13 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: 0 X-BigFish: VS0(zzzz1f42h1ee6h1de0h1fdah2073h1202h1e76h1d1ah1d2ah1fc6hzz8275bhz2dh2a8h668h839hd24he5bhf0ah1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h1504h1537h162dh1631h1758h1898h18e1h1946h19b5h1ad9h1b0ah1d0ch1d2eh1d3fh1dc1h1dfeh1dffh1e23h1155h) Received: from mail57-db8 (localhost.localdomain [127.0.0.1]) by mail57-db8 (MessageSwitch) id 137273635111506_21223; Tue, 2 Jul 2013 03:39:11 +0000 (UTC) Received: from DB8EHSMHS015.bigfish.com (unknown [10.174.8.239]) by mail57-db8.bigfish.com (Postfix) with ESMTP id F2B9E86004C for ; Tue, 2 Jul 2013 03:39:10 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by DB8EHSMHS015.bigfish.com (10.174.4.25) with Microsoft SMTP Server (TLS) id 14.16.227.3; Tue, 2 Jul 2013 03:39:08 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-004.039d.mgd.msft.net (10.84.1.14) with Microsoft SMTP Server (TLS) id 14.2.328.11; Tue, 2 Jul 2013 03:39:06 +0000 Received: from b28495.ap.freescale.net ([10.192.208.202]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id r623d4Rs016154; Mon, 1 Jul 2013 20:39:05 -0700 From: To: Date: Tue, 2 Jul 2013 11:39:02 +0800 Message-ID: <1372736343-8839-1-git-send-email-b28495@freescale.com> X-Mailer: git-send-email 1.7.3.4 MIME-Version: 1.0 X-OriginatorOrg: freescale.com X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% Subject: [meta-fsl-ppc][PATCH 1/2] u-boot: not use == to compatible with dash X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jul 2013 03:39:15 -0000 Content-Type: text/plain From: Ting Liu Signed-off-by: Ting Liu Tested-by: Luo Zhenhua-B19537 --- recipes-kernel/u-boot/u-boot_git.bb | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/recipes-kernel/u-boot/u-boot_git.bb b/recipes-kernel/u-boot/u-boot_git.bb index 7427dfc..c3aa105 100644 --- a/recipes-kernel/u-boot/u-boot_git.bb +++ b/recipes-kernel/u-boot/u-boot_git.bb @@ -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 -- 1.7.3.4