diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-03-26 07:59:52 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2015-04-02 10:33:27 -0400 |
commit | 8a58e1628ce4416490fb00e958b867fb5b9b1f90 (patch) | |
tree | 41c4352090c74cc2439128605486cc8f4e19d975 /Kbuild | |
parent | 4218affdf57f938c04e3a916a9685ee27079f377 (diff) |
kbuild: do not add $(bounds-file) and $(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>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'Kbuild')
-rw-r--r-- | Kbuild | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -36,7 +36,7 @@ endef | |||
36 | bounds-file := include/generated/bounds.h | 36 | bounds-file := include/generated/bounds.h |
37 | 37 | ||
38 | always := $(bounds-file) | 38 | always := $(bounds-file) |
39 | targets := $(bounds-file) kernel/bounds.s | 39 | targets := kernel/bounds.s |
40 | 40 | ||
41 | # We use internal kbuild rules to avoid the "is up to date" message from make | 41 | # We use internal kbuild rules to avoid the "is up to date" message from make |
42 | kernel/bounds.s: kernel/bounds.c FORCE | 42 | kernel/bounds.s: kernel/bounds.c FORCE |
@@ -53,7 +53,6 @@ $(obj)/$(bounds-file): kernel/bounds.s FORCE | |||
53 | offsets-file := include/generated/asm-offsets.h | 53 | offsets-file := include/generated/asm-offsets.h |
54 | 54 | ||
55 | always += $(offsets-file) | 55 | always += $(offsets-file) |
56 | targets += $(offsets-file) | ||
57 | targets += arch/$(SRCARCH)/kernel/asm-offsets.s | 56 | targets += arch/$(SRCARCH)/kernel/asm-offsets.s |
58 | 57 | ||
59 | # We use internal kbuild rules to avoid the "is up to date" message from make | 58 | # We use internal kbuild rules to avoid the "is up to date" message from make |