summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-07-05 01:56:56 +0900
committerTom Rini <trini@konsulko.com>2015-07-27 15:01:55 -0400
commitba84de9f13a150414e079c89566790e1c0c433df (patch)
tree12ac9e903c68c5bc38cffbd9dccc8644002def78 /Kbuild
parent98bd0e0d9b0c85b266689cecd93a354db2c49932 (diff)
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>
Diffstat (limited to 'Kbuild')
-rw-r--r--Kbuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/Kbuild b/Kbuild
index 465b930f62..e2e3b2995f 100644
--- a/Kbuild
+++ b/Kbuild
@@ -36,7 +36,7 @@ endef
generic-offsets-file := include/generated/generic-asm-offsets.h
always := $(generic-offsets-file)
-targets := $(generic-offsets-file) lib/asm-offsets.s
+targets := lib/asm-offsets.s
# We use internal kbuild rules to avoid the "is up to date" message from make
lib/asm-offsets.s: lib/asm-offsets.c FORCE
@@ -55,7 +55,6 @@ offsets-file := include/generated/asm-offsets.h
endif
always += $(offsets-file)
-targets += $(offsets-file)
targets += arch/$(ARCH)/lib/asm-offsets.s
CFLAGS_asm-offsets.o := -DDO_DEPS_ONLY