[U-Boot-Users] [PATCH] Delete u-boot.img on make mrproper

Ladislav Michl ladis at linux-mips.org
Wed Jun 9 15:15:58 CEST 2004


Hi. Deleteting u-boot.img by hand before diff -Naur is a bit annoying...

Index: Makefile
===================================================================
RCS file: /cvsroot/u-boot/u-boot/Makefile,v
retrieving revision 1.120
diff -u -r1.120 Makefile
--- Makefile	8 Jun 2004 00:22:43 -0000	1.120
+++ Makefile	9 Jun 2004 12:22:25 -0000
@@ -1319,8 +1322,8 @@
 
 clobber:	clean
 	find . -type f \
-		\( -name .depend -o -name '*.srec' -o -name '*.bin' \) \
-		-print \
+		\( -name .depend -o -name '*.srec' -o -name '*.bin' \
+		-o -name '*.img' \) -print \
 		| xargs rm -f
 	rm -f $(OBJS) *.bak tags TAGS
 	rm -fr *.*~




More information about the U-Boot mailing list