Commit ba84de9f13a150414e079c89566790e1c0c433df
Committed by
Tom Rini
1 parent
98bd0e0d9b
Exists in
v2017.01-smarct4x
and in
32 other branches
kbuild: do not add $((generic-)offsets-file) to targets
$(always) is added to targets by scripts/Makefile.build. Moreover, filechk does not need .*.cmd files. Adding these two files to targets is redundant. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Showing 1 changed file with 1 additions and 2 deletions Side-by-side Diff
Kbuild
... | ... | @@ -36,7 +36,7 @@ |
36 | 36 | generic-offsets-file := include/generated/generic-asm-offsets.h |
37 | 37 | |
38 | 38 | always := $(generic-offsets-file) |
39 | -targets := $(generic-offsets-file) lib/asm-offsets.s | |
39 | +targets := lib/asm-offsets.s | |
40 | 40 | |
41 | 41 | # We use internal kbuild rules to avoid the "is up to date" message from make |
42 | 42 | lib/asm-offsets.s: lib/asm-offsets.c FORCE |
... | ... | @@ -55,7 +55,6 @@ |
55 | 55 | endif |
56 | 56 | |
57 | 57 | always += $(offsets-file) |
58 | -targets += $(offsets-file) | |
59 | 58 | targets += arch/$(ARCH)/lib/asm-offsets.s |
60 | 59 | |
61 | 60 | CFLAGS_asm-offsets.o := -DDO_DEPS_ONLY |