From: Mike Frysinger Date: Wed, 24 Nov 2010 16:52:48 -0500 Subject: [U-Boot] [PATCH] Introduce the Tertiary Program loader In-Reply-To: <1290633928-7270-1-git-send-email-Haiying.Wang@freescale.com> References: <1290633928-7270-1-git-send-email-Haiying.Wang@freescale.com> Message-ID: <201011241652.49021.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wednesday, November 24, 2010 16:25:28 Haiying.Wang at freescale.com wrote: > +ifeq ($(CONFIG_TPL_U_BOOT),y) > +$(U_BOOT_NAND): $(NAND_SPL) $(TPL_BOOT) $(obj)u-boot.bin > + cat $(obj)nand_spl/u-boot-spl-16k.bin $(obj)tpl/u-boot-tpl.bin > $(obj)u-boot.bin > $(obj)u-boot-nand.bin > +else > $(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 +endif this looks doomed to failure. why not introduce a new variable like NAND_SPL_OBJS-y and pass that in to cat ? -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20101124/10a849f6/attachment.pgp