kbuild: Really don't clean bounds.h and asm-offsets.h
[linux-2.6.git] / Kbuild
diff --git a/Kbuild b/Kbuild
index e3737ad..18a8bfb 100644 (file)
--- a/Kbuild
+++ b/Kbuild
@@ -94,5 +94,5 @@ PHONY += missing-syscalls
 missing-syscalls: scripts/checksyscalls.sh FORCE
        $(call cmd,syscalls)
 
-# Delete all targets during make clean
-clean-files := $(addprefix $(objtree)/,$(filter-out $(bounds-file) $(offsets-file),$(targets)))
+# Keep these two files during make clean
+no-clean-files := $(bounds-file) $(offsets-file)