From 7432971c5b76c42d669c245edd4acb2f390f5859 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 24 May 2010 09:20:37 +0200 Subject: u-boot-mkimage: fix target build --- recipes/u-boot/u-boot-mkimage_1.3.2.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'recipes/u-boot') 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 53240b35a1..cf20fb52af 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 () { -- cgit 1.2.3-korg