[Buildroot] svn commit: trunk/buildroot/target: linux u-boot

Ulf Samuelsson ulf.samuelsson at atmel.com
Mon Jan 26 11:40:35 UTC 2009


mån 2009-01-26 klockan 11:49 +0100 skrev Peter Korsgaard:
> >>>>> "ulf" == ulf  <ulf at uclibc.org> writes:
> 
>  ulf> Author: ulf
>  ulf> Date: 2009-01-26 10:38:00 +0000 (Mon, 26 Jan 2009)
>  ulf> New Revision: 25048
> 
>  ulf> Log:
>  ulf> Revert bad patch to fix linux rebuild problem
> 
>  ulf> -$(LINUX26_MKIMAGE_DIR)/mkimage:	$(MKIMAGE)
>  ulf> +$(LINUX26_MKIMAGE_DIR)/mkimage:	u-boot
>  ulf>  	mkdir -p $(LINUX26_MKIMAGE_DIR)
>  ulf>  	cp $(MKIMAGE) $(LINUX26_MKIMAGE_DIR)
> 
> Having an actual filename depending on a phony target seems wrong -
> This will always be rebuilt.
>  
>  ulf>  U_BOOT_TARGETS:=$(BINARIES_DIR)/$(U_BOOT_BIN) $(U_BOOT_TOOLS)
>  ulf> +#U_BOOT_TARGETS:=$(BINARIES_DIR)/$(U_BOOT_BIN)
> 
> Why? Seems like you just broke the tools stuff.

As of yesterday part of linux26 is always rerun when you
do a make, and that was because of mkimage.
Tried to fix, but the fix worked only because
of things already built.


>  ulf>  ifeq ($(strip $(subst ",,$(BR2_TARGET_UBOOT_DEFAULT_ENV))),y)
>  ulf>  #"))
>  ulf> @@ -289,7 +290,7 @@
>  ulf>  #
>  ulf>  #############################################################
>  ulf>  ifeq ($(BR2_TARGET_UBOOT),y)
>  ulf> -TARGETS+=u-boot
>  ulf> +TARGETS+=u-boot mkimage
> 
> There afaik is no mkimage target.
> 
> Please fix.

I removed that, the u-boot and linux directories
and reran make linux26 which seems to build and install.
Will have to run more tests to avoid the copy above and
the rebuild of linux.

BR
Ulf Samuelsson


> 



More information about the buildroot mailing list