summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoel A Fernandes <joelagnel@ti.com>2011-10-12 16:12:55 +0000
committerWolfgang Denk <wd@denx.de>2011-10-22 01:17:15 +0200
commit4e4b21bd4e64a5cc122d317feb8e63ee846a60e4 (patch)
treec5ba9f67d3e04ed5294742ac59c43d152e5f3fcb /Makefile
parentc4c9fbebae6a62d538817d0ccee698adaafc5d66 (diff)
Makefile: Remove MLO on make clean
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@ti.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7aba2dd69be..86542514f57 100644
--- a/Makefile
+++ b/Makefile
@@ -861,6 +861,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 '*~' \