[PATCH] generate barebox.srec

Sascha Hauer s.hauer at pengutronix.de
Tue Sep 13 03:32:15 EDT 2011


On Mon, Sep 12, 2011 at 02:25:23PM +0400, Antony Pavlov wrote:
> Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>

Applied to next.

Sascha

> ---
>  .gitignore |    1 +
>  Makefile   |    3 +++
>  2 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/.gitignore b/.gitignore
> index 84d9f73..cc1f2e2 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -31,6 +31,7 @@ cross_compile
>  barebox
>  barebox.S
>  barebox.bin
> +barebox.srec
>  barebox.netx
>  barebox.map
>  System.map
> diff --git a/Makefile b/Makefile
> index c100d24..5843db5 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -689,6 +689,9 @@ barebox: $(barebox-lds) $(barebox-head) $(barebox-common) $(kallsyms.o) FORCE
>  	$(call if_changed_rule,barebox__)
>  	$(Q)rm -f .old_version
>  
> +barebox.srec: barebox
> +	$(OBJCOPY) -O srec $< $@
> +
>  # The actual objects are generated when descending,
>  # make sure no implicit rule kicks in
>  $(sort $(barebox-head) $(barebox-common) ) $(barebox-lds): $(barebox-dirs) ;
> -- 
> 1.7.5.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list