From: John Rigby Date: Mon, 27 Dec 2010 17:47:08 -0700 Subject: [U-Boot] [RFC PATCH 8/8] OMAP3: Add ift target to top level Makefile In-Reply-To: <1293497228-15911-1-git-send-email-john.rigby@linaro.org> References: <1293497228-15911-1-git-send-email-john.rigby@linaro.org> Message-ID: <1293497228-15911-9-git-send-email-john.rigby@linaro.org> 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: John Rigby --- Makefile | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 9055028..baf11b3 100644 --- a/Makefile +++ b/Makefile @@ -289,8 +289,13 @@ LDPPFLAGS += \ ifeq ($(CONFIG_NAND_U_BOOT),y) NAND_SPL = nand_spl +ifeq ($(CONFIG_OMAP3430),y) +U_BOOT_SPL_IFT=u-boot-spl.ift +ALL+=$(U_BOOT_SPL_IFT) +else U_BOOT_NAND = $(obj)u-boot-nand.bin endif +endif ifeq ($(CONFIG_ONENAND_U_BOOT),y) ONENAND_IPL = onenand_ipl @@ -407,6 +412,10 @@ $(NAND_SPL): $(TIMESTAMP_FILE) $(VERSION_FILE) depend $(U_BOOT_NAND): $(NAND_SPL) $(obj)u-boot.bin cat $(obj)nand_spl/u-boot-spl-16k.bin $(obj)u-boot.bin > $(obj)u-boot-nand.bin +$(U_BOOT_SPL_IFT): $(NAND_SPL) $(obj)u-boot.bin + $(obj)tools/mkimage -T omapimage \ + -a $(CONFIG_SYS_NAND_SPL_TEXT_BASE) -d $(obj)nand_spl/u-boot-spl.bin $@ + $(ONENAND_IPL): $(TIMESTAMP_FILE) $(VERSION_FILE) $(obj)include/autoconf.mk $(MAKE) -C onenand_ipl/board/$(BOARDDIR) all -- 1.7.3.1.120.g38a18