[U-Boot] [PATCH] Makefile: Remove MLO on make clean
Joel A Fernandes
agnel.joel at gmail.com
Thu Oct 13 04:12:55 CEST 2011
From: Joel A Fernandes <joelagnel at ti.com>
SPL builds could leave an MLO which is an mkimage of type omapimage
Make sure its deleted on make clean/distclean
Signed-off-by: Joel A Fernandes <joelagnel at ti.com>
---
Makefile | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index 99b9278..102aff5 100644
--- a/Makefile
+++ b/Makefile
@@ -1005,6 +1005,7 @@ clean:
@rm -f $(ONENAND_BIN)
@rm -f $(obj)onenand_ipl/u-boot.lds
@rm -f $(obj)spl/{u-boot-spl,u-boot-spl.bin,u-boot-spl.lds,u-boot-spl.map}
+ @rm -f $(obj)MLO
@rm -f $(TIMESTAMP_FILE) $(VERSION_FILE)
@find $(OBJTREE) -type f \
\( -name 'core' -o -name '*.bak' -o -name '*~' \
--
1.7.1
More information about the U-Boot
mailing list