From: Peter Korsgaard Date: Sat, 26 Apr 2014 11:26:26 +0200 Subject: [Buildroot] [PATCH] uboot-tools: bump to version 2014.04 In-Reply-To: <1398422888-10671-1-git-send-email-abrodkin@synopsys.com> (Alexey Brodkin's message of "Fri, 25 Apr 2014 14:48:08 +0400") References: <1398422888-10671-1-git-send-email-abrodkin@synopsys.com> Message-ID: <87a9b8zbjx.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Alexey" == Alexey Brodkin writes: > In U-Boot v2014.04 new make target was implemented for separate building of > host tools only - http://git.denx.de/?p=u-boot.git;a=commit;h=4642e0022b648968c994551b087a780327079883 > Now we don't need any additional patches and may just say "make tools-only". > Signed-off-by: Alexey Brodkin > +++ b/package/uboot-tools/uboot-tools.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > -UBOOT_TOOLS_VERSION = 2014.01 > +UBOOT_TOOLS_VERSION = 2014.04 > UBOOT_TOOLS_SOURCE = u-boot-$(UBOOT_TOOLS_VERSION).tar.bz2 > UBOOT_TOOLS_SITE = ftp://ftp.denx.de/pub/u-boot > UBOOT_TOOLS_LICENSE = GPLv2+ > @@ -45,11 +45,7 @@ define UBOOT_TOOLS_INSTALL_TARGET_CMDS > endef > define HOST_UBOOT_TOOLS_BUILD_CMDS > - $(MAKE1) -C $(@D) \ > - HOSTCC="$(HOSTCC)" \ > - HOSTCFLAGS="$(HOST_CFLAGS)" \ > - HOSTLDFLAGS="$(HOST_LDFLAGS)" \ > - tools > + $(MAKE1) -C $(@D) tools-only > endef Are the HOST* variables not used anymore? You forgot the target variant, that is now broken. If I change it to also use tools-only, I get: >>> uboot-tools 2014.04 Building /usr/bin/make -j5 -C /home/peko/source/buildroot/output/build/uboot-tools-2014.04 HOSTCC="/home/peko/source/buildroot/output/host/usr/bin/arm-linux-gcc" HOSTCFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os " HOSTLDFLAGS="" HOSTSTRIP=true tools-only make[1]: Entering directory `/home/peko/source/buildroot/output/build/uboot-tools-2014.04' CHK include/config/uboot.release CHK include/generated/timestamp_autogenerated.h HOSTCC scripts/basic/fixdep UPD include/generated/timestamp_autogenerated.h UPD include/config/uboot.release CHK include/generated/version_autogenerated.h UPD include/generated/version_autogenerated.h /lib/ld-uClibc.so.0: No such file or directory make[2]: *** [scripts/basic/fixdep] Error 255 make[1]: *** [scripts_basic] Error 2 make[1]: Leaving directory `/home/peko/source/buildroot/output/build/uboot-tools-2014.04' make: *** [/home/peko/source/buildroot/output/build/uboot-tools-2014.04/.stamp_built] Error 2 Any ideas? -- Bye, Peter Korsgaard