diff mbox

[U-Boot] Makefile: need to remove generated u-boot-nand_spl.lds

Message ID 1309414622-1079-1-git-send-email-galak@kernel.crashing.org
State Accepted
Commit ff6b47ad23365964f7d75f8878f17388a024dc8d
Headers show

Commit Message

Kumar Gala June 30, 2011, 6:17 a.m. UTC
On MPC85xx based NAND_SPL builds we generate a u-boot-nand_spl.lds based
on output from preprocessor.  We where never removed it.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Scott Wood July 1, 2011, 9:02 p.m. UTC | #1
On Thu, Jun 30, 2011 at 01:17:02AM -0500, Kumar Gala wrote:
> On MPC85xx based NAND_SPL builds we generate a u-boot-nand_spl.lds based
> on output from preprocessor.  We where never removed it.
> 
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
> ---
>  Makefile |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/Makefile b/Makefile
> index a344536..689fddb 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1128,7 +1128,7 @@ clean:
>  	       $(obj)arch/blackfin/cpu/bootrom-asm-offsets.[chs]
>  	@rm -f $(obj)include/bmp_logo.h
>  	@rm -f $(obj)lib/asm-offsets.s
> -	@rm -f $(obj)nand_spl/{u-boot.lds,u-boot-spl,u-boot-spl.map,System.map}
> +	@rm -f $(obj)nand_spl/{u-boot.lds,u-boot-nand_spl.lds,u-boot-spl,u-boot-spl.map,System.map}
>  	@rm -f $(obj)onenand_ipl/onenand-{ipl,ipl.bin,ipl.map}
>  	@rm -f $(obj)mmc_spl/{u-boot.lds,u-boot-spl,u-boot-spl.map,u-boot-spl.bin,u-boot-mmc-spl.bin}
>  	@rm -f $(ONENAND_BIN)

Applied to u-boot-nand-flash

-Scott
diff mbox

Patch

diff --git a/Makefile b/Makefile
index a344536..689fddb 100644
--- a/Makefile
+++ b/Makefile
@@ -1128,7 +1128,7 @@  clean:
 	       $(obj)arch/blackfin/cpu/bootrom-asm-offsets.[chs]
 	@rm -f $(obj)include/bmp_logo.h
 	@rm -f $(obj)lib/asm-offsets.s
-	@rm -f $(obj)nand_spl/{u-boot.lds,u-boot-spl,u-boot-spl.map,System.map}
+	@rm -f $(obj)nand_spl/{u-boot.lds,u-boot-nand_spl.lds,u-boot-spl,u-boot-spl.map,System.map}
 	@rm -f $(obj)onenand_ipl/onenand-{ipl,ipl.bin,ipl.map}
 	@rm -f $(obj)mmc_spl/{u-boot.lds,u-boot-spl,u-boot-spl.map,u-boot-spl.bin,u-boot-mmc-spl.bin}
 	@rm -f $(ONENAND_BIN)