diff mbox

kbuild: do not add $(bounds-file) and $(offsets-file) to targets

Message ID 1427371192-29966-1-git-send-email-yamada.masahiro@socionext.com (mailing list archive)
State New, archived
Headers show

Commit Message

Masahiro Yamada March 26, 2015, 11:59 a.m. UTC
$(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 | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Michal Marek April 2, 2015, 2:33 p.m. UTC | #1
On 2015-03-26 12:59, Masahiro Yamada wrote:
> $(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>

Applied to kbuild.git#kbuild, thanks.

Michal

--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/Kbuild b/Kbuild
index 96d0629..6f0d82a 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