From 4837497a7f0ae164eee6b09ed35c09b9348eb19c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 31 Oct 2021 01:05:27 -0400 Subject: [PATCH] sim: tighten up gencode output Update the gencode rules to use the silent build helpers. --- sim/cr16/Makefile.in | 10 +++++----- sim/d10v/Makefile.in | 10 +++++----- sim/m68hc11/Makefile.in | 8 ++++---- sim/sh/Makefile.in | 10 +++++----- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/sim/cr16/Makefile.in b/sim/cr16/Makefile.in index 6d6555a3261..99b2becf792 100644 --- a/sim/cr16/Makefile.in +++ b/sim/cr16/Makefile.in @@ -36,19 +36,19 @@ NL_TARGET = -DNL_TARGET_cr16 ## COMMON_POST_CONFIG_FRAG simops.h: gencode - ./gencode -h >$@ + $(ECHO_GEN) ./gencode -h >$@ table.c: gencode simops.h - ./gencode >$@ + $(ECHO_GEN) ./gencode >$@ gencode.o: gencode.c $(INCLUDE) - $(COMPILE_FOR_BUILD) $(WARN_CFLAGS) -c $(srcdir)/gencode.c + $(ECHO_CC) $(COMPILE_FOR_BUILD) $(WARN_CFLAGS) -c $(srcdir)/gencode.c cr16-opc.o: $(srcdir)/../../opcodes/cr16-opc.c - $(COMPILE_FOR_BUILD) $(WARN_CFLAGS) -c $(srcdir)/../../opcodes/cr16-opc.c + $(ECHO_CC) $(COMPILE_FOR_BUILD) $(WARN_CFLAGS) -c $(srcdir)/../../opcodes/cr16-opc.c gencode: gencode.o cr16-opc.o - $(LINK_FOR_BUILD) gencode.o cr16-opc.o + $(ECHO_CCLD) $(LINK_FOR_BUILD) gencode.o cr16-opc.o clean-extra: rm -f table.c simops.h gencode diff --git a/sim/d10v/Makefile.in b/sim/d10v/Makefile.in index 67c7efdf32b..4f8759b3dea 100644 --- a/sim/d10v/Makefile.in +++ b/sim/d10v/Makefile.in @@ -37,19 +37,19 @@ NL_TARGET = -DNL_TARGET_d10v ## COMMON_POST_CONFIG_FRAG simops.h: gencode - ./gencode -h >$@ + $(ECHO_GEN) ./gencode -h >$@ table.c: gencode simops.h - ./gencode >$@ + $(ECHO_GEN) ./gencode >$@ gencode.o: gencode.c $(INCLUDE) - $(COMPILE_FOR_BUILD) $(WARN_CFLAGS) -c $(srcdir)/gencode.c + $(ECHO_CC) $(COMPILE_FOR_BUILD) $(WARN_CFLAGS) -c $(srcdir)/gencode.c d10v-opc.o: $(srcdir)/../../opcodes/d10v-opc.c - $(COMPILE_FOR_BUILD) $(WARN_CFLAGS) -c $(srcdir)/../../opcodes/d10v-opc.c + $(ECHO_CC) $(COMPILE_FOR_BUILD) $(WARN_CFLAGS) -c $(srcdir)/../../opcodes/d10v-opc.c gencode: gencode.o d10v-opc.o - $(LINK_FOR_BUILD) gencode.o d10v-opc.o + $(ECHO_CCLD) $(LINK_FOR_BUILD) gencode.o d10v-opc.o clean-extra: rm -f table.c simops.h gencode diff --git a/sim/m68hc11/Makefile.in b/sim/m68hc11/Makefile.in index e7b66864855..f906a7c2bb6 100644 --- a/sim/m68hc11/Makefile.in +++ b/sim/m68hc11/Makefile.in @@ -42,16 +42,16 @@ SIM_EXTRA_CLEAN = clean-extra ## COMMON_POST_CONFIG_FRAG m68hc11int.c: gencode - ./gencode -m6811 > $@ + $(ECHO_GEN) ./gencode -m6811 > $@ m68hc12int.c: gencode - ./gencode -m6812 > $@ + $(ECHO_GEN) ./gencode -m6812 > $@ gencode.o: gencode.c - $(COMPILE_FOR_BUILD) -c $< -o $@ + $(ECHO_CC) $(COMPILE_FOR_BUILD) -c $< -o $@ gencode: gencode.o - $(LINK_FOR_BUILD) $^ + $(ECHO_CCLD) $(LINK_FOR_BUILD) $^ clean-extra: rm -f gencode m68hc11int.c diff --git a/sim/sh/Makefile.in b/sim/sh/Makefile.in index e43fb5a17e8..efac41e8a40 100644 --- a/sim/sh/Makefile.in +++ b/sim/sh/Makefile.in @@ -34,21 +34,21 @@ SIM_WERROR_CFLAGS = ## COMMON_POST_CONFIG_FRAG code.c: gencode - ./gencode -x >code.c + $(ECHO_GEN) ./gencode -x >code.c # indent code.c table.c: gencode - ./gencode -s >table.c + $(ECHO_GEN) ./gencode -s >table.c # indent table.c ppi.c: gencode - ./gencode -p >ppi.c + $(ECHO_GEN) ./gencode -p >ppi.c gencode.o: gencode.c - $(COMPILE_FOR_BUILD) -c $< -o $@ + $(ECHO_CC) $(COMPILE_FOR_BUILD) -c $< -o $@ gencode: gencode.o - $(LINK_FOR_BUILD) $^ + $(ECHO_CCLD) $(LINK_FOR_BUILD) $^ sh-clean: rm -f gencode code.c table.c -- 2.30.2