[oe-commits] Koen Kooi : u-boot-mkimage: fix target build

git version control git at git.openembedded.org
Mon May 24 07:41:37 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 7432971c5b76c42d669c245edd4acb2f390f5859
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=7432971c5b76c42d669c245edd4acb2f390f5859

Author: Koen Kooi <k-kooi at ti.com>
Date:   Mon May 24 09:20:37 2010 +0200

u-boot-mkimage: fix target build

---

 recipes/u-boot/u-boot-mkimage_1.3.2.bb |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/recipes/u-boot/u-boot-mkimage_1.3.2.bb b/recipes/u-boot/u-boot-mkimage_1.3.2.bb
index 53240b3..cf20fb5 100644
--- a/recipes/u-boot/u-boot-mkimage_1.3.2.bb
+++ b/recipes/u-boot/u-boot-mkimage_1.3.2.bb
@@ -5,15 +5,18 @@ SECTION = "bootloader"
 SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 \
            file://fix-arm920t-eabi.patch;patch=1"
 
-PR = "r1"
+PR = "r3"
 
 S = "${WORKDIR}/u-boot-${PV}"
 
 EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
 
+TARGET_CC_ARCH += "${LDFLAGS}"
+
 do_compile () {
 	oe_runmake smdk2410_config
-	oe_runmake tools STRIP='/bin/true'
+	sed -i -e 's:img2srec$(SFX) mkimage$(SFX) envcrc$(SFX) ubsha1$(SFX) gen_eth_addr$(SFX) bmp_logo$(SFX):mkimage$(SFX):' tools/Makefile
+	oe_runmake HOSTCC="${CC}" LOGO_H="" tools STRIP='/bin/true'
 }
 
 do_install () {





More information about the Openembedded-commits mailing list