]> git.sur5r.net Git - u-boot/commitdiff
kbuild: do not add $((generic-)offsets-file) to targets
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 4 Jul 2015 16:56:56 +0000 (01:56 +0900)
committerTom Rini <trini@konsulko.com>
Mon, 27 Jul 2015 19:01:55 +0000 (15:01 -0400)
$(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>
Kbuild

diff --git a/Kbuild b/Kbuild
index 465b930f625a73e7b939cb93c3a31f97f01e28bb..e2e3b2995f16ef68abaef1d15acd8d4aa1ef6eb4 100644 (file)
--- 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