[U-Boot] [PATCH v2 01/17] u-boot.img file not created when srctree and objtree are different

Tom Rix tom at bumblecow.com
Mon May 3 01:27:55 CEST 2010


Vipin KUMAR wrote:
> Adding ($obj) before tools/mkimage for u-boot.img file creation
> 

This is fine.
Change follows similar targets in the Makefile
Ack-ed
Tom

> Signed-off-by: Vipin Kumar <vipin.kumar at st.com>
> ---
>  Makefile |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/Makefile b/Makefile
> index 34f10ce..7bfdfd3 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -313,7 +313,7 @@ $(obj)u-boot.ldr.srec:	$(obj)u-boot.ldr
>  		$(OBJCOPY) ${OBJCFLAGS} -O srec $< $@ -I binary
>  
>  $(obj)u-boot.img:	$(obj)u-boot.bin
> -		./tools/mkimage -A $(ARCH) -T firmware -C none \
> +		$(obj)tools/mkimage -A $(ARCH) -T firmware -C none \
>  		-a $(TEXT_BASE) -e 0 \
>  		-n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \
>  			sed -e 's/"[	 ]*$$/ for $(BOARD) board"/') \



More information about the U-Boot mailing list