]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Makefile: Remove MLO on make clean
authorJoel A Fernandes <joelagnel@ti.com>
Wed, 12 Oct 2011 16:12:55 +0000 (16:12 +0000)
committerWolfgang Denk <wd@denx.de>
Fri, 21 Oct 2011 23:17:15 +0000 (01:17 +0200)
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>
Makefile

index 7aba2dd69be3852b54dc452c235029c6885c3064..86542514f57d8c7f23c04cddf26da8c40913f3f1 100644 (file)
--- 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 '*~' \