[PATCH 2/5] kbuild: include/asm may be a file - fix mrproper for this

From: Sam Ravnborg
Date: Sun Jun 22 2008 - 18:09:00 EST


I upcoming patch include/asm is a directory when we do
a "make O=..." build, so teach mrproper to handle this

Signed-off-by: Sam Ravnborg <sam@xxxxxxxxxxxx>
---
Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 4ea5189..ef30745 100644
--- a/Makefile
+++ b/Makefile
@@ -1120,8 +1120,8 @@ CLEAN_FILES += vmlinux System.map \
.tmp_kallsyms* .tmp_version .tmp_vmlinux* .tmp_System.map

# Directories & files removed with 'make mrproper'
-MRPROPER_DIRS += include/config include2 usr/include
-MRPROPER_FILES += .config .config.old include/asm .version .old_version \
+MRPROPER_DIRS += include/config include2 usr/include include/asm
+MRPROPER_FILES += .config .config.old .version .old_version \
include/linux/autoconf.h include/linux/version.h \
include/linux/utsrelease.h \
include/linux/bounds.h include/asm*/asm-offsets.h \
--
1.5.4.1.143.ge7e51

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/