[U-Boot] [PATCH] Makefile: remove MLO.byteswap on clobber

Nishanth Menon nm at ti.com
Wed Jan 2 18:59:24 CET 2013


On clobber, do a cleanup even for SPL build else, we'd have
MLO.byteswap remaining for certain platforms like am33xx SPL builds

Signed-off-by: Nishanth Menon <nm at ti.com>
---
To notice the missing cleanup:

With the cross compile flags set, do:
make am335x_evm_config; make; make clobber; git status
 On branch master
 Untracked files:
   (use "git add <file>..." to include in what will be committed)

	MLO.byteswap

Patch based on:v2013.01-rc2-172-gf8cfcf1 (master)
	git://git.denx.de/u-boot.git

 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index a7b6cd1..4e64622 100644
--- a/Makefile
+++ b/Makefile
@@ -869,7 +869,7 @@ clobber:	tidy
 	@rm -f $(obj)nand_spl/{u-boot-nand_spl.lds,u-boot-spl,u-boot-spl.map}
 	@rm -f $(obj)spl/{u-boot-spl,u-boot-spl.bin,u-boot-spl.map}
 	@rm -f $(obj)spl/{u-boot-spl.lds,u-boot.lst}
-	@rm -f $(obj)MLO
+	@rm -f $(obj)MLO MLO.byteswap
 	@rm -f $(obj)SPL
 	@rm -f $(obj)tools/xway-swap-bytes
 	@rm -f $(obj)arch/powerpc/cpu/mpc824x/bedbug_603e.c
-- 
1.7.9.5



More information about the U-Boot mailing list