Skip to content
Snippets Groups Projects
Commit ba84de9f authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Tom Rini
Browse files

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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 98bd0e0d
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,7 @@ endef ...@@ -36,7 +36,7 @@ endef
generic-offsets-file := include/generated/generic-asm-offsets.h generic-offsets-file := include/generated/generic-asm-offsets.h
always := $(generic-offsets-file) 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 # We use internal kbuild rules to avoid the "is up to date" message from make
lib/asm-offsets.s: lib/asm-offsets.c FORCE lib/asm-offsets.s: lib/asm-offsets.c FORCE
...@@ -55,7 +55,6 @@ offsets-file := include/generated/asm-offsets.h ...@@ -55,7 +55,6 @@ offsets-file := include/generated/asm-offsets.h
endif endif
always += $(offsets-file) always += $(offsets-file)
targets += $(offsets-file)
targets += arch/$(ARCH)/lib/asm-offsets.s targets += arch/$(ARCH)/lib/asm-offsets.s
CFLAGS_asm-offsets.o := -DDO_DEPS_ONLY CFLAGS_asm-offsets.o := -DDO_DEPS_ONLY
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment