Browse Source

kbuild: asm-offsets.h is now cleaned with O=.. builds

Reported by: "Robert P. J. Day" <rpjday@mindspring.com>

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: "Robert P. J. Day" <rpjday@mindspring.com>
Sam Ravnborg 18 years ago
parent
commit
f241182b51
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Kbuild

+ 1 - 0
Kbuild

@@ -13,6 +13,7 @@ offsets-file := include/asm-$(ARCH)/asm-offsets.h
 always  := $(offsets-file)
 always  := $(offsets-file)
 targets := $(offsets-file)
 targets := $(offsets-file)
 targets += arch/$(ARCH)/kernel/asm-offsets.s
 targets += arch/$(ARCH)/kernel/asm-offsets.s
+clean-files := $(addprefix $(objtree)/,$(targets))
 
 
 # Default sed regexp - multiline due to syntax constraints
 # Default sed regexp - multiline due to syntax constraints
 define sed-y
 define sed-y