diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-08-10 11:53:01 -0400 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-08-14 13:25:11 -0400 |
commit | d082402e2174314e87131771d048925b2245b74c (patch) | |
tree | d1a0d8765f51ae5d99fa0e5060fc8a353e638f5a /Kbuild | |
parent | d4945049ad668f7472df50aaea98c7fea262e6d4 (diff) |
kbuild: remove meaningless 'targets' in ./Kbuild
timeconst.h is generated by $(call filechk,...), missing-syscalls and
old-atomics are invoked by $(call cmd,...)
None of them needs to be added to 'targets'.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'Kbuild')
-rw-r--r-- | Kbuild | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -18,8 +18,6 @@ $(bounds-file): kernel/bounds.s FORCE | |||
18 | 18 | ||
19 | timeconst-file := include/generated/timeconst.h | 19 | timeconst-file := include/generated/timeconst.h |
20 | 20 | ||
21 | targets += $(timeconst-file) | ||
22 | |||
23 | filechk_gentimeconst = echo $(CONFIG_HZ) | bc -q $< | 21 | filechk_gentimeconst = echo $(CONFIG_HZ) | bc -q $< |
24 | 22 | ||
25 | $(timeconst-file): kernel/time/timeconst.bc FORCE | 23 | $(timeconst-file): kernel/time/timeconst.bc FORCE |
@@ -42,7 +40,6 @@ $(offsets-file): arch/$(SRCARCH)/kernel/asm-offsets.s FORCE | |||
42 | # Check for missing system calls | 40 | # Check for missing system calls |
43 | 41 | ||
44 | always += missing-syscalls | 42 | always += missing-syscalls |
45 | targets += missing-syscalls | ||
46 | 43 | ||
47 | quiet_cmd_syscalls = CALL $< | 44 | quiet_cmd_syscalls = CALL $< |
48 | cmd_syscalls = $(CONFIG_SHELL) $< $(CC) $(c_flags) $(missing_syscalls_flags) | 45 | cmd_syscalls = $(CONFIG_SHELL) $< $(CC) $(c_flags) $(missing_syscalls_flags) |
@@ -54,7 +51,6 @@ missing-syscalls: scripts/checksyscalls.sh $(offsets-file) FORCE | |||
54 | # Check atomic headers are up-to-date | 51 | # Check atomic headers are up-to-date |
55 | 52 | ||
56 | always += old-atomics | 53 | always += old-atomics |
57 | targets += old-atomics | ||
58 | 54 | ||
59 | quiet_cmd_atomics = CALL $< | 55 | quiet_cmd_atomics = CALL $< |
60 | cmd_atomics = $(CONFIG_SHELL) $< | 56 | cmd_atomics = $(CONFIG_SHELL) $< |