From patchwork Wed Nov 9 09:18:19 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 124503 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id CA68AB6F7E for ; Wed, 9 Nov 2011 20:21:10 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C6046295E2; Wed, 9 Nov 2011 10:20:40 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZsNmR3Eh2zbv; Wed, 9 Nov 2011 10:20:40 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6B1B4297F6; Wed, 9 Nov 2011 10:19:40 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 51D8D29520 for ; Wed, 9 Nov 2011 10:19:18 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id criqJm7FcZzs for ; Wed, 9 Nov 2011 10:19:18 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by theia.denx.de (Postfix) with ESMTPS id 363962959E for ; Wed, 9 Nov 2011 10:18:54 +0100 (CET) Received: by mail-fx0-f44.google.com with SMTP id s12so1425305faa.3 for ; Wed, 09 Nov 2011 01:18:54 -0800 (PST) Received: by 10.152.102.138 with SMTP id fo10mr911846lab.44.1320830334034; Wed, 09 Nov 2011 01:18:54 -0800 (PST) Received: from mashiro.ms.mff.cuni.cz (eduroam31.ms.mff.cuni.cz. [195.113.21.31]) by mx.google.com with ESMTPS id no9sm3745853lab.0.2011.11.09.01.18.52 (version=SSLv3 cipher=OTHER); Wed, 09 Nov 2011 01:18:53 -0800 (PST) From: Marek Vasut To: u-boot@lists.denx.de Date: Wed, 9 Nov 2011 10:18:19 +0100 Message-Id: <1320830307-4762-13-git-send-email-marek.vasut@gmail.com> X-Mailer: git-send-email 1.7.7.1 In-Reply-To: <1320830307-4762-1-git-send-email-marek.vasut@gmail.com> References: <1320830307-4762-1-git-send-email-marek.vasut@gmail.com> Subject: [U-Boot] [PATCH 12/20] iMX28: Add u-boot.sb target to Makefile X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@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(-) diff --git a/.gitignore b/.gitignore index 70a11f7..ff4bae0 100644 --- a/.gitignore +++ b/.gitignore @@ -36,6 +36,7 @@ /u-boot.lds /u-boot.ubl /u-boot.dtb +/u-boot.sb # # Generated files diff --git a/Makefile b/Makefile index 294c762..c9e2624 100644 --- a/Makefile +++ b/Makefile @@ -424,6 +424,10 @@ $(obj)u-boot.ubl: $(obj)spl/u-boot-spl.bin $(obj)u-boot.bin rm $(obj)u-boot-ubl.bin rm $(obj)spl/u-boot-spl-pad.bin +$(obj)u-boot.sb: $(obj)u-boot.bin $(obj)spl/u-boot-spl.bin + elftosb -zdf imx28 -c $(TOPDIR)/board/$(BOARDDIR)/u-boot.bd \ + -o $(obj)u-boot.sb + ifeq ($(CONFIG_SANDBOX),y) GEN_UBOOT = \ cd $(LNDIR) && $(CC) $(SYMS) -T $(obj)u-boot.lds \ @@ -791,6 +795,7 @@ clobber: clean @rm -f $(obj)u-boot.imx @rm -f $(obj)u-boot.ubl @rm -f $(obj)u-boot.dtb + @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