All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kbuild: do not add $(bounds-file) and $(offsets-file) to targets
@ 2015-03-26 11:59 Masahiro Yamada
  2015-04-02 14:33 ` Michal Marek
  0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2015-03-26 11:59 UTC (permalink / raw)
  To: linux-kbuild; +Cc: Masahiro Yamada, Michal Marek, linux-kernel

$(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(-)

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
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] kbuild: do not add $(bounds-file) and $(offsets-file) to targets
  2015-03-26 11:59 [PATCH] kbuild: do not add $(bounds-file) and $(offsets-file) to targets Masahiro Yamada
@ 2015-04-02 14:33 ` Michal Marek
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Marek @ 2015-04-02 14:33 UTC (permalink / raw)
  To: Masahiro Yamada, linux-kbuild; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-02 14:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-26 11:59 [PATCH] kbuild: do not add $(bounds-file) and $(offsets-file) to targets Masahiro Yamada
2015-04-02 14:33 ` Michal Marek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.