+2021-06-16 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * silent-rules.mk (ECHO_CCLD, ECHO_AR, ECHO_RANLIB): New.
+
2021-06-16 Tom de Vries <tdevries@suse.de>
PR symtab/26327
ECHO_CXX = @echo " CXX $@";
ECHO_CC = @echo " CC $@";
ECHO_CXXLD = @echo " CXXLD $@";
+ECHO_CCLD = @echo " CCLD $@";
ECHO_REGDAT = @echo " REGDAT $@";
ECHO_GEN = @echo " GEN $@";
ECHO_GEN_XML_BUILTIN = \
ECHO_SIGN = @echo " SIGN gdb";
ECHO_YACC = @echo " YACC $@";
ECHO_LEX = @echo " LEX $@";
+ECHO_AR = @echo " AR $@";
+ECHO_RANLIB = @echo " RANLIB $@";
SILENCE = @
endif
+2021-06-16 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * common/Make-common.in (COMPILE, libsim.a, run$(EXEEXT),
+ gentmap.o, gentmap): Make rules silent.
+
2021-06-16 Mike Frysinger <vapier@gentoo.org>
* m4/sim_ac_common.m4: Delete AC_EXEEXT call.
srcroot = $(srcdir)/../..
srcsim = $(srcdir)/..
+include $(srcroot)/gdb/silent-rules.mk
+
# Helper code from gnulib.
GNULIB_PARENT_DIR = ../..
include $(GNULIB_PARENT_DIR)/gnulib/Makefile.gnulib.inc
# GNU make is used. The overrides implement dependency tracking.
COMPILE.pre = $(CC) $(C_DIALECT)
COMPILE.post = -c -o $@
-COMPILE = $(COMPILE.pre) $(ALL_CFLAGS) $(COMPILE.post)
+COMPILE = $(ECHO_CC) $(COMPILE.pre) $(ALL_CFLAGS) $(COMPILE.post)
POSTCOMPILE = @true
# igen leaks memory, and therefore makes AddressSanitizer unhappy. Disable
libsim.a: $(LIB_OBJS)
rm -f libsim.a
- $(AR) $(AR_FLAGS) libsim.a $(LIB_OBJS)
- $(RANLIB) libsim.a
+ $(ECHO_AR) $(AR) $(AR_FLAGS) libsim.a $(LIB_OBJS)
+ $(ECHO_RANLIB) $(RANLIB) libsim.a
run$(EXEEXT): $(SIM_RUN_OBJS) libsim.a $(LIBDEPS)
- $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o run$(EXEEXT) \
+ $(ECHO_CCLD) $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o run$(EXEEXT) \
$(SIM_RUN_OBJS) libsim.a $(EXTRA_LIBS)
# FIXME: Ideally, callback.o and friends live in a library outside of
# a library).
gentmap.o: Makefile $(srccom)/gentmap.c $(srccom)/nltvals.def
- $(COMPILE_FOR_BUILD) -o $@ -c $(srccom)/gentmap.c $(NL_TARGET)
+ $(ECHO_CC) $(COMPILE_FOR_BUILD) -o $@ -c $(srccom)/gentmap.c $(NL_TARGET)
gentmap: gentmap.o
- $(LINK_FOR_BUILD) $<
+ $(ECHO_CC) $(LINK_FOR_BUILD) $<
targ-vals.h targ-map.c: stamp-tvals
stamp-tvals: gentmap