summaryrefslogtreecommitdiff
path: root/gdb/silent-rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/silent-rules.mk')
-rw-r--r--gdb/silent-rules.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/gdb/silent-rules.mk b/gdb/silent-rules.mk
new file mode 100644
index 00000000000..803dbda546a
--- /dev/null
+++ b/gdb/silent-rules.mk
@@ -0,0 +1,14 @@
+# If V is undefined or V=0 is specified, use the silent/verbose/compact mode.
+V ?= 0
+ifeq ($(V),0)
+ECHO_CXX = @echo " CXX $@";
+ECHO_CXXLD = @echo " CXXLD $@";
+ECHO_REGDAT = @echo " REGDAT $@";
+ECHO_GEN = @echo " GEN $@";
+ECHO_GEN_XML_BUILTIN = \
+ @echo " GEN xml-builtin.c";
+ECHO_GEN_XML_BUILTIN_GENERATED = \
+ @echo " GEN xml-builtin-generated.c";
+ECHO_INIT_C = echo " GEN init.c" ||
+SILENCE = @
+endif