Skip to contentSkip to conversation

Makefile: ensure mrproper removes .old_version

PATCH Applied Tore Anderson 2 participants 2 messages Jan 7, 2006 – Jan 8, 2006 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Makefile: ensure mrproper removes .old_version

If the final linking of vmlinux fails, the file .old_version are left behind. This patch ensures the mrproper target will remove it if present.

Makefile +1 -1
index 599e744..50b07fa 100644
@@ -984,7 +984,7 @@ CLEAN_FILES +=	vmlinux System.map \
 
 # Directories & files removed with 'make mrproper'
 MRPROPER_DIRS  += include/config include2
-MRPROPER_FILES += .config .config.old include/asm .version \
+MRPROPER_FILES += .config .config.old include/asm .version .old_version \
                   include/linux/autoconf.h include/linux/version.h \
                   Module.symvers tags TAGS cscope*
 
Signature · 1 line
Tore Anderson
Applied
#1 lore raw
Quoted 3 lines · Tore Anderson

If the final linking of vmlinux fails, the file .old_version are left behind. This patch ensures the mrproper target will remove it if present.

Applied,
Sam