mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-22 01:36:10 +08:00
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.
This commit is contained 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
|
||||
|
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user