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

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sun Aug 12 09:23:06 EDT 2012


On 11:37 Sat 11 Aug     , Jean-Christophe PLAGNIOL-VILLARD wrote:
> 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
I re-think about it and I think we need a common ways acrosse arch

othersize it will be confusing

Best Regards,
J.



More information about the barebox mailing list