[PATCH 6/9] ARM Makefile: generate a barebox-flash-image link

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sat Aug 11 05:37:40 EDT 2012


On 22:01 Fri 10 Aug     , Sascha Hauer wrote:
> Depending on the SoC a barebox.bin, barebox.netx, barebox.s5p, MLO image
> is generated. With pbl support there now is an additional
> arch/arm/pbl/zbarebox.bin image.
> 
> To help the user to determine which image should be flashed to his device,
> generate a barebox-flash-image link.
> 
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> ---
>  arch/arm/Makefile |    7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/Makefile b/arch/arm/Makefile
> index 63bc9be..9d9247f 100644
> --- a/arch/arm/Makefile
> +++ b/arch/arm/Makefile
> @@ -217,7 +217,10 @@ zbarebox.S zbarebox.bin zbarebox: barebox.bin
>  archclean:
>  	$(MAKE) $(clean)=$(pbl)
>  
> -all: $(KBUILD_BINARY)
> +barebox-flash-image: $(KBUILD_BINARY)
> +	$(Q)ln -sf $(KBUILD_BINARY) barebox-flash-image
please create a command

Best Regards,
J.



More information about the barebox mailing list