summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorJan Blunck <jblunck@suse.de>2008-05-16 13:54:59 +0200
committerSam Ravnborg <sam@ravnborg.org>2008-05-19 20:18:24 +0200
commit7d3cc8b6d899e53222c22a78d98bb53a695f7962 (patch)
tree13a6588d3675515c8df669551753222d0b9b67db /Kbuild
parent107f43a0f7282511ec570214a0b8f639224ff525 (diff)
downloadlinux-riscv-7d3cc8b6d899e53222c22a78d98bb53a695f7962.tar.gz
linux-riscv-7d3cc8b6d899e53222c22a78d98bb53a695f7962.tar.bz2
linux-riscv-7d3cc8b6d899e53222c22a78d98bb53a695f7962.zip
Don't clean bounds.h and asm-offsets.h
Since 97965478a66fbdf0f4ad5e4ecc4828f0cb548a45 ("mm: Get rid of __ZONE_COUNT") 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> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> --
Diffstat (limited to 'Kbuild')
-rw-r--r--Kbuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/Kbuild b/Kbuild
index 32f19c5c9bb0..e750e9c3fe59 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)))