From b46621118d69b200efc806b495ef96bbfc595bca Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 31 Oct 2021 01:11:41 -0400 Subject: [PATCH] sim: m32c: tighten up opc2c build output Drop the single debugging line that repeats the command line option, and use the silent build helpers to tighten up output. --- sim/m32c/Makefile.in | 12 ++++++------ sim/m32c/opc2c.c | 1 - 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/sim/m32c/Makefile.in b/sim/m32c/Makefile.in index 0c101a835cf..cfdadd04104 100644 --- a/sim/m32c/Makefile.in +++ b/sim/m32c/Makefile.in @@ -49,18 +49,18 @@ arch = m32c OPC2C = ASAN_OPTIONS=detect_leaks=0 ./opc2c r8c.c : r8c.opc opc2c - $(OPC2C) -l r8c.out $(srcdir)/r8c.opc > r8c.c.tmp - mv r8c.c.tmp r8c.c + $(ECHO_GEN) $(OPC2C) -l r8c.out $(srcdir)/r8c.opc > r8c.c.tmp + $(SILENCE) mv r8c.c.tmp r8c.c m32c.c : m32c.opc opc2c - $(OPC2C) -l m32c.out $(srcdir)/m32c.opc > m32c.c.tmp - mv m32c.c.tmp m32c.c + $(ECHO_GEN) $(OPC2C) -l m32c.out $(srcdir)/m32c.opc > m32c.c.tmp + $(SILENCE) mv m32c.c.tmp m32c.c opc2c : opc2c.o - $(LINK_FOR_BUILD) $^ + $(ECHO_CCLD) $(LINK_FOR_BUILD) $^ encodings: grep '/\* [01]' $(srcdir)/r8c.opc | sort opc2c.o : opc2c.c - $(COMPILE_FOR_BUILD) -c $(srcdir)/opc2c.c + $(ECHO_CC) $(COMPILE_FOR_BUILD) -c $(srcdir)/opc2c.c diff --git a/sim/m32c/opc2c.c b/sim/m32c/opc2c.c index 3d1713d2034..f67b134639a 100644 --- a/sim/m32c/opc2c.c +++ b/sim/m32c/opc2c.c @@ -513,7 +513,6 @@ main (int argc, char **argv) if (argc > 2 && strcmp (argv[1], "-l") == 0) { sim_log = fopen (argv[2], "w"); - fprintf (stderr, "sim_log: %s\n", argv[2]); argc -= 2; argv += 2; } -- 2.30.2