Commit 7d3cc8b6d899e53222c22a78d98bb53a695f7962

Authored by Jan Blunck
Committed by Sam Ravnborg
1 parent 107f43a0f7

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>
--

Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff

... ... @@ -96,5 +96,5 @@
96 96 $(call cmd,syscalls)
97 97  
98 98 # Delete all targets during make clean
99   -clean-files := $(addprefix $(objtree)/,$(targets))
  99 +clean-files := $(addprefix $(objtree)/,$(filter-out $(bounds-file) $(offsets-file),$(targets)))
... ... @@ -1114,6 +1114,7 @@
1114 1114 MRPROPER_FILES += .config .config.old include/asm .version .old_version \
1115 1115 include/linux/autoconf.h include/linux/version.h \
1116 1116 include/linux/utsrelease.h \
  1117 + include/linux/bounds.h include/asm*/asm-offsets.h \
1117 1118 Module.symvers tags TAGS cscope*
1118 1119  
1119 1120 # clean - Delete most, but leave enough to build external modules