Commit 30b9b932a5393da45e3b1cf3a151a93dcf130a9b
Committed by
Stefano Babic
1 parent
f29f7e02ce
Exists in
master
and in
54 other branches
iMX28: Add u-boot.sb target to Makefile
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>
Showing 2 changed files with 6 additions and 0 deletions Side-by-side Diff
.gitignore
Makefile
... | ... | @@ -424,6 +424,10 @@ |
424 | 424 | rm $(obj)u-boot-ubl.bin |
425 | 425 | rm $(obj)spl/u-boot-spl-pad.bin |
426 | 426 | |
427 | +$(obj)u-boot.sb: $(obj)u-boot.bin $(obj)spl/u-boot-spl.bin | |
428 | + elftosb -zdf imx28 -c $(TOPDIR)/board/$(BOARDDIR)/u-boot.bd \ | |
429 | + -o $(obj)u-boot.sb | |
430 | + | |
427 | 431 | ifeq ($(CONFIG_SANDBOX),y) |
428 | 432 | GEN_UBOOT = \ |
429 | 433 | cd $(LNDIR) && $(CC) $(SYMS) -T $(obj)u-boot.lds \ |
... | ... | @@ -791,6 +795,7 @@ |
791 | 795 | @rm -f $(obj)u-boot.imx |
792 | 796 | @rm -f $(obj)u-boot.ubl |
793 | 797 | @rm -f $(obj)u-boot.dtb |
798 | + @rm -f $(obj)u-boot.sb | |
794 | 799 | @rm -f $(obj)tools/{env/crc32.c,inca-swap-bytes} |
795 | 800 | @rm -f $(obj)arch/powerpc/cpu/mpc824x/bedbug_603e.c |
796 | 801 | @rm -fr $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm |