Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id E9653E00959; Fri, 3 Apr 2015 00:28:59 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [157.56.111.119 listed in list.dnswl.org] * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] X-Greylist: delayed 3663 seconds by postgrey-1.32 at yocto-www; Fri, 03 Apr 2015 00:28:55 PDT Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0119.outbound.protection.outlook.com [157.56.111.119]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 6231BE0049A for ; Fri, 3 Apr 2015 00:28:55 -0700 (PDT) Received: from BY1PR03MB1371.namprd03.prod.outlook.com (25.162.109.29) by BY1PR03MB1513.namprd03.prod.outlook.com (25.162.210.147) with Microsoft SMTP Server (TLS) id 15.1.130.23; Fri, 3 Apr 2015 05:54:24 +0000 Received: from CH1PR03CA001.namprd03.prod.outlook.com (10.255.156.146) by BY1PR03MB1371.namprd03.prod.outlook.com (25.162.109.29) with Microsoft SMTP Server (TLS) id 15.1.118.21; Fri, 3 Apr 2015 05:54:22 +0000 Received: from BN1AFFO11FD005.protection.gbl (10.255.156.132) by CH1PR03CA001.outlook.office365.com (10.255.156.146) with Microsoft SMTP Server (TLS) id 15.1.118.21 via Frontend Transport; Fri, 3 Apr 2015 05:54:22 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD005.mail.protection.outlook.com (10.58.52.65) with Microsoft SMTP Server (TLS) id 15.1.136.16 via Frontend Transport; Fri, 3 Apr 2015 05:54:22 +0000 Received: from sun.ap.freescale.net (sun.ap.freescale.net [10.192.208.75]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id t335sI9A002977; Thu, 2 Apr 2015 22:54:20 -0700 From: To: Date: Fri, 3 Apr 2015 13:54:16 +0800 Message-ID: <1428040456-8664-1-git-send-email-b40290@freescale.com> X-Mailer: git-send-email 1.9.2 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; BMV:1; SFV:NSPM; SFS:(10019020)(6009001)(339900001)(199003)(189002)(33646002)(229853001)(47776003)(62966003)(105606002)(50466002)(77156002)(46102003)(48376002)(87936001)(106466001)(77096005)(92566002)(450100001)(86362001)(575784001)(19580395003)(85426001)(36756003)(50986999)(50226001)(2351001)(110136001)(104016003)(6806004)(86152002)(19580405001)(230783001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR03MB1371; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:sfv; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BY1PR03MB1371; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BY1PR03MB1513; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5002010)(5005006); SRVR:BY1PR03MB1371; BCL:0; PCL:0; RULEID:; SRVR:BY1PR03MB1371; X-Forefront-PRVS: 05352A48BE X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Apr 2015 05:54:22.0538 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR03MB1371 X-OriginatorOrg: freescale.com Subject: [meta-fsl-arm][PATCH ] u-boot-ls1: fix multiple u-boot compile path changed. 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: Fri, 03 Apr 2015 07:28:59 -0000 Content-Type: text/plain From: Chunrong Guo *fix the following error: |couldn't open "/poky/build/tmp/work/ls1021aqds-poky-linux-gnueabi/u-boot-ls1/2014.07-r0/git/u-boot.bin": no such file or directory (From OE-Core rev: eca277b0af9e0e29022f81f54c17bf24aec02232) Signed-off-by: Chunrong Guo --- recipes-bsp/u-boot/u-boot-ls1_2014.07.bb | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/recipes-bsp/u-boot/u-boot-ls1_2014.07.bb b/recipes-bsp/u-boot/u-boot-ls1_2014.07.bb index 1a1f76d..010d2cc 100644 --- a/recipes-bsp/u-boot/u-boot-ls1_2014.07.bb +++ b/recipes-bsp/u-boot/u-boot-ls1_2014.07.bb @@ -8,11 +8,17 @@ DEPENDS += "change-file-endianess-native" PROVIDES += "u-boot" do_compile_append () { - case "${UBOOT_MACHINE}" in - *spi*) tclsh ${STAGING_BINDIR_NATIVE}/byte_swap.tcl ${S}/u-boot.bin ${S}/u-boot.swap.bin 8 - mv ${S}/u-boot.swap.bin ${S}/u-boot.bin;; - *sdcard*) mv ${S}/u-boot-with-spl-pbl.bin ${S}/u-boot.bin;; - esac + if [ "x${UBOOT_CONFIG}" != "x" ] + then + for config in ${UBOOT_MACHINE}; do + case "${config}" in + *spi*) tclsh ${STAGING_BINDIR_NATIVE}/byte_swap.tcl ${S}/${config}/u-boot.bin ${S}/${config}/u-boot.swap.bin 8 + mv ${S}/${config}/u-boot.swap.bin ${S}/u-boot-${type}.${UBOOT_SUFFIX};; + *sdcard*) mv ${S}/${config}/u-boot-with-spl-pbl.bin ${S}/${config}/u-boot.bin;; + esac + done + fi + } PACKAGES += "${PN}-images" -- 1.9.2