summaryrefslogtreecommitdiff
path: root/gdb/silent-rules.mk
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-07-02 07:29:03 -0600
committerTom Tromey <tom@tromey.com>2018-07-09 08:03:49 -0600
commite5fd1493fd9c2d8d55fd15b9bd6539781ee56209 (patch)
treea7e9a7e94569c65acd4c59bf047e5dcfa511b2f6 /gdb/silent-rules.mk
parent981e0c0c1aabcd78409184c79e8f88b5de918e38 (diff)
downloadbinutils-gdb-e5fd1493fd9c2d8d55fd15b9bd6539781ee56209.tar.gz
Minimize yacc and lex output
This minimizes the "make" output from the yacc and lex rules, following the same technique as the rest of the Makefile. The lex rule had a special case to deal with the situation where flex is not available. I don't think this is needed, so I removed it. If flex is truly unavailable, the person building gdb can simply "touch" the output file. gdb/ChangeLog 2018-07-09 Tom Tromey <tom@tromey.com> * Makefile.in (%.c: %.y): Use ECHO_YACC. (%.c: %.l): Use ECHO_LEX. Just fail if flex not available. * silent-rules.mk (ECHO_YACC, ECHO_LEX): New variables.
Diffstat (limited to 'gdb/silent-rules.mk')
-rw-r--r--gdb/silent-rules.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/silent-rules.mk b/gdb/silent-rules.mk
index ade77ad1c51..7ed73a767c6 100644
--- a/gdb/silent-rules.mk
+++ b/gdb/silent-rules.mk
@@ -11,5 +11,7 @@ ECHO_GEN_XML_BUILTIN_GENERATED = \
@echo " GEN xml-builtin-generated.c";
ECHO_INIT_C = echo " GEN init.c" ||
ECHO_SIGN = @echo " SIGN gdb";
+ECHO_YACC = @echo " YACC $@";
+ECHO_LEX = @echo " LEX $@";
SILENCE = @
endif