From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Wed, 14 Sep 2011 00:28:30 +0200 Subject: [U-Boot] [PATCH 12/15 V2] iMX28: Add u-boot.sb target to Makefile In-Reply-To: <1315800409-19876-13-git-send-email-marek.vasut@gmail.com> References: <1315800409-19876-13-git-send-email-marek.vasut@gmail.com> Message-ID: <1315952910-4375-1-git-send-email-marek.vasut@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Signed-off-by: Marek Vasut Cc: Stefano Babic Cc: Wolfgang Denk Cc: Detlev Zundel --- .gitignore | 1 + Makefile | 5 +++++ 2 files changed, 6 insertions(+), 0 deletions(-) V2: Add missing .gitignore entry diff --git a/.gitignore b/.gitignore index dbf545f..65dbb73 100644 --- a/.gitignore +++ b/.gitignore @@ -34,6 +34,7 @@ /u-boot.dis /u-boot.lds /u-boot.ubl +/u-boot.sb # # Generated files 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 -- 1.7.5.4