Skip to contentSkip to conversation

Makefile: Remove MLO on make clean

PATCH New Joel A Fernandes 1 participant 1 message Oct 13, 2011 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Makefile: Remove MLO on make clean

From: Joel A Fernandes <[email protected]>

SPL builds could leave an MLO which is an mkimage of type omapimage Make sure its deleted on make clean/distclean

---
 Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Makefile +1 -0
index 99b9278..102aff5 100644
@@ -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 '*~' \
Signature · 1 line
1.7.1