Message ID | 1315800409-19876-13-git-send-email-marek.vasut@gmail.com |
---|---|
State | Changes Requested |
Headers | show |
On Monday, September 12, 2011 00:06:46 Marek Vasut wrote: > Makefile | 5 +++++ > 1 files changed, 5 insertions(+), 0 deletions(-) > > --- a/Makefile > +++ b/Makefile > > +$(obj)u-boot.sb: $(obj)u-boot.bin $(obj)spl/u-boot-spl.bin > + elftosb -zdf imx28 -c board/denx/m28evk/u-boot.bd \ > + -o $(obj)u-boot.sb generated files should probably be in .gitignore too -mike
On Monday, September 12, 2011 06:33:29 PM Mike Frysinger wrote: > On Monday, September 12, 2011 00:06:46 Marek Vasut wrote: > > Makefile | 5 +++++ > > 1 files changed, 5 insertions(+), 0 deletions(-) > > > > --- a/Makefile > > +++ b/Makefile > > > > +$(obj)u-boot.sb: $(obj)u-boot.bin $(obj)spl/u-boot-spl.bin > > + elftosb -zdf imx28 -c board/denx/m28evk/u-boot.bd \ > > + -o $(obj)u-boot.sb > > generated files should probably be in .gitignore too > -mike u-boot.sb added, thanks. Will be in V3
diff --git a/Makefile b/Makefile index ee05fb3..69dfe88 100644 --- a/Makefile +++ b/Makefile @@ -398,6 +398,10 @@ $(obj)u-boot.ubl: $(obj)u-boot-nand.bin $(obj)tools/mkimage -n $(UBL_CONFIG) -T ublimage \ -e $(CONFIG_SYS_TEXT_BASE) -d $< $@ +$(obj)u-boot.sb: $(obj)u-boot.bin $(obj)spl/u-boot-spl.bin + elftosb -zdf imx28 -c board/denx/m28evk/u-boot.bd \ + -o $(obj)u-boot.sb + GEN_UBOOT = \ UNDEF_SYM=`$(OBJDUMP) -x $(LIBBOARD) $(LIBS) | \ sed -n -e 's/.*\($(SYM_PREFIX)__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\ @@ -980,6 +984,7 @@ clobber: clean @rm -f $(obj)u-boot.kwb @rm -f $(obj)u-boot.imx @rm -f $(obj)u-boot.ubl + @rm -f $(obj)u-boot.sb @rm -f $(obj)tools/{env/crc32.c,inca-swap-bytes} @rm -f $(obj)arch/powerpc/cpu/mpc824x/bedbug_603e.c @rm -fr $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Wolfgang Denk <wd@denx.de> Cc: Detlev Zundel <dzu@denx.de> --- Makefile | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)