summaryrefslogtreecommitdiffstats
path: root/cpukit/wrapup
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2018-04-11 15:45:38 +1000
committerChris Johns <chrisj@rtems.org>2018-04-12 07:26:10 +1000
commitaf6168c6ef19b317c8724ca5950699414d15cf3c (patch)
tree3cdf81e9f1d7a687f446fb702068398efc1b667b /cpukit/wrapup
parentbuild: Fix make clean. (diff)
downloadrtems-af6168c6ef19b317c8724ca5950699414d15cf3c.tar.bz2
build: Add support for automake's silent build support.
Diffstat (limited to 'cpukit/wrapup')
-rw-r--r--cpukit/wrapup/Makefile.am18
1 files changed, 9 insertions, 9 deletions
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)