diff mbox series

[4/4] s390: drop meaningless 'targets' from tools Makefile

Message ID 20190517075428.13496-4-yamada.masahiro@socionext.com
State Accepted
Commit 10077c9f2dae1afabab2808a0326ecf3e8e5a82c
Headers show
Series [1/4] s390: do not pass $(LINUXINCLUDE) to gen_opcode_table.c | expand

Commit Message

Masahiro Yamada May 17, 2019, 7:54 a.m. UTC
'targets' should be specified to include .*.cmd files to evaluate
if_changed or friends.

Here, facility-defs.h and dis-defs.h are generated by filechk.

Because filechk does not generate .*.cmd file, the 'targets' addition
is meaningless. The filechk correctly updates the target when its
content is changed.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

---

 arch/s390/tools/Makefile | 1 -
 1 file changed, 1 deletion(-)

-- 
2.17.1

Comments

Heiko Carstens June 1, 2019, 10:22 a.m. UTC | #1
On Fri, May 17, 2019 at 04:54:27PM +0900, Masahiro Yamada wrote:
> 'targets' should be specified to include .*.cmd files to evaluate

> if_changed or friends.

> 

> Here, facility-defs.h and dis-defs.h are generated by filechk.

> 

> Because filechk does not generate .*.cmd file, the 'targets' addition

> is meaningless. The filechk correctly updates the target when its

> content is changed.

> 

> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

> ---

> 

>  arch/s390/tools/Makefile | 1 -

>  1 file changed, 1 deletion(-)

> 

> diff --git a/arch/s390/tools/Makefile b/arch/s390/tools/Makefile

> index 4864ea5e6ceb..b5e35e8f999a 100644

> --- a/arch/s390/tools/Makefile

> +++ b/arch/s390/tools/Makefile

> @@ -6,7 +6,6 @@

>  kapi := arch/$(ARCH)/include/generated/asm

>  kapi-hdrs-y := $(kapi)/facility-defs.h $(kapi)/dis-defs.h

> 

> -targets += $(addprefix ../../../,$(kapi-hdrs-y))


Applied, thanks.
diff mbox series

Patch

diff --git a/arch/s390/tools/Makefile b/arch/s390/tools/Makefile
index 4864ea5e6ceb..b5e35e8f999a 100644
--- a/arch/s390/tools/Makefile
+++ b/arch/s390/tools/Makefile
@@ -6,7 +6,6 @@ 
 kapi := arch/$(ARCH)/include/generated/asm
 kapi-hdrs-y := $(kapi)/facility-defs.h $(kapi)/dis-defs.h
 
-targets += $(addprefix ../../../,$(kapi-hdrs-y))
 PHONY += kapi
 
 kapi:	$(kapi-hdrs-y)