[Skiboot] [PATCH] Add .version to make clean

Michael Neuling mikey at neuling.org
Mon Jun 6 15:28:29 AEST 2016

.version is missing from the clean target.  Fix this.

Found with 'make; make clean; git clean -dfx'

Signed-off-by: Michael Neuling <mikey at neuling.org>

diff --git a/Makefile.main b/Makefile.main
index 30c22be..9432654 100644
--- a/Makefile.main
+++ b/Makefile.main
@@ -234,7 +234,7 @@ cscope:
 	$(RM) *.[odsa] $(SUBDIRS:%=%/*.[odsa])
 	$(RM) *.elf $(TARGET).lid *.map $(TARGET).lds
-	$(RM) include/asm-offsets.h version.c
+	$(RM) include/asm-offsets.h version.c .version
 	$(RM) extract-gcov
 distclean: clean

More information about the Skiboot mailing list