summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-03-26 20:59:52 +0900
committerMichal Marek <mmarek@suse.cz>2015-04-02 16:33:27 +0200
commit8a58e1628ce4416490fb00e958b867fb5b9b1f90 (patch)
tree41c4352090c74cc2439128605486cc8f4e19d975
parent4218affdf57f938c04e3a916a9685ee27079f377 (diff)
downloadlinux-8a58e1628ce4416490fb00e958b867fb5b9b1f90.tar.bz2
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>
-rw-r--r--Kbuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/Kbuild b/Kbuild
index 96d062906c05..6f0d82a9245d 100644
--- a/Kbuild
+++ b/Kbuild
@@ -36,7 +36,7 @@ endef
bounds-file := include/generated/bounds.h
always := $(bounds-file)
-targets := $(bounds-file) kernel/bounds.s
+targets := kernel/bounds.s
# We use internal kbuild rules to avoid the "is up to date" message from make
kernel/bounds.s: kernel/bounds.c FORCE
@@ -53,7 +53,6 @@ $(obj)/$(bounds-file): kernel/bounds.s FORCE
offsets-file := include/generated/asm-offsets.h
always += $(offsets-file)
-targets += $(offsets-file)
targets += arch/$(SRCARCH)/kernel/asm-offsets.s
# We use internal kbuild rules to avoid the "is up to date" message from make