* [PATCH] Don't clean bounds.h and asm-offsets.h
@ 2008-05-16 11:54 Jan Blunck
0 siblings, 0 replies; only message in thread
From: Jan Blunck @ 2008-05-16 11:54 UTC (permalink / raw)
To: Christoph Lameter; +Cc: Linux-Kernel Mailinglist
Since 97965478a66fbdf0f4ad5e4ecc4828f0cb548a45 mmzone.h includes
bounds.h. Calling make clean after make prepare removes bounds.h again so
when building external modules this fails.
Signed-off-by: Jan Blunck <jblunck@suse.de>
--
diff --git a/Kbuild b/Kbuild
index 32f19c5..e750e9c 100644
--- a/Kbuild
+++ b/Kbuild
@@ -96,5 +96,4 @@ missing-syscalls: scripts/checksyscalls.sh FORCE
$(call cmd,syscalls)
# Delete all targets during make clean
-clean-files := $(addprefix $(objtree)/,$(targets))
-
+clean-files := $(addprefix $(objtree)/,$(filter-out $(bounds-file) $(offsets-file),$(targets)))
diff --git a/Makefile b/Makefile
index 3140145..c1c9ed1 100644
--- a/Makefile
+++ b/Makefile
@@ -1114,6 +1114,7 @@ MRPROPER_DIRS += include/config include2 usr/include
MRPROPER_FILES += .config .config.old include/asm .version .old_version \
include/linux/autoconf.h include/linux/version.h \
include/linux/utsrelease.h \
+ include/linux/bounds.h include/asm*/asm-offsets.h \
Module.symvers tags TAGS cscope*
# clean - Delete most, but leave enough to build external modules
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-16 11:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-16 11:54 [PATCH] Don't clean bounds.h and asm-offsets.h Jan Blunck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®