From af6168c6ef19b317c8724ca5950699414d15cf3c Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Wed, 11 Apr 2018 15:45:38 +1000 Subject: build: Add support for automake's silent build support. --- cpukit/wrapup/Makefile.am | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'cpukit/wrapup') diff --git a/cpukit/wrapup/Makefile.am b/cpukit/wrapup/Makefile.am index 3b0887457c..3bb9ca4983 100644 --- a/cpukit/wrapup/Makefile.am +++ b/cpukit/wrapup/Makefile.am @@ -103,10 +103,10 @@ TMP_LIBS += ../libdebugger/libdebugger.a endif librtemscpu.a: $(TMP_LIBS) - rm -f $@ - $(MKDIR_P) $(ARCH) - rm -rf $(ARCH)/*.$(OBJEXT) $(ARCH)/*.rel - for f in $(TMP_LIBS); do \ + $(AM_V_GEN)rm -f $@ + $(AM_V_GEN)$(MKDIR_P) $(ARCH) + $(AM_V_GEN)rm -rf $(ARCH)/*.$(OBJEXT) $(ARCH)/*.rel + $(AM_V_at)for f in $(TMP_LIBS); do \ case $$f in \ *.$(OBJEXT) | *.rel) \ if test -f $(ARCH)/`basename $$f`; then \ @@ -123,16 +123,16 @@ librtemscpu.a: $(TMP_LIBS) ;; \ *.a) \ cd $(ARCH); \ - $(AR) xv ../$$f || exit 1; \ + $(AR) xv ../$$f > /dev/null || exit 1; \ chmod a-w * ; \ cd ..; \ ;; \ esac; \ done - ls $(ARCH)/* > $@-list - $(AR) rc $@ @$@-list - rm -f $@-list $(ARCH)/*.$(OBJEXT) $(ARCH)/*.rel - $(RANLIB) $@ + $(AM_V_GEN)ls $(ARCH)/* > $@-list + $(AM_V_AR)$(AR) rc $@ @$@-list + $(AM_V_GEN)rm -f $@-list $(ARCH)/*.$(OBJEXT) $(ARCH)/*.rel + $(AM_V_at)$(RANLIB) $@ all-local: $(TMPINSTALL_FILES) -- cgit v1.2.3