From 6be775f89293c686a1f12ce2210de111c6509585 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 22 Aug 2007 16:28:31 +0000 Subject: [PATCH] - add some $(Q) here and there --- package/Makefile.autotools.in | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/package/Makefile.autotools.in b/package/Makefile.autotools.in index 2ab84a6a18..33fcb603ea 100644 --- a/package/Makefile.autotools.in +++ b/package/Makefile.autotools.in @@ -129,25 +129,25 @@ TAR ?= tar # Retrieve and unpack the archive $(BUILD_DIR)/%/.stamp_downloaded: $(call MESSAGE,"Downloading") - test -e $(DL_DIR)/$($(PKG)_SOURCE) || $(WGET) -P $(DL_DIR) $($(PKG)_SITE)/$($(PKG)_SOURCE) - $(if $($(PKG)_PATCH),test -e $(DL_DIR)/$($(PKG)_PATCH) || $(WGET) -P $(DL_DIR) $($(PKG)_SITE)/$($(PKG)_PATCH)) - mkdir -p $(@D) - touch $@ + $(Q)test -e $(DL_DIR)/$($(PKG)_SOURCE) || $(WGET) -P $(DL_DIR) $($(PKG)_SITE)/$($(PKG)_SOURCE) + $(if $($(PKG)_PATCH),$(Q)test -e $(DL_DIR)/$($(PKG)_PATCH) || $(WGET) -P $(DL_DIR) $($(PKG)_SITE)/$($(PKG)_PATCH)) + $(Q)mkdir -p $(@D) + $(Q)touch $@ # Retrieve and unpack the archive $(BUILD_DIR)/%/.stamp_extracted: $(call MESSAGE,"Extracting") - mkdir -p $(@D) - $(INFLATE$(suffix $($(PKG)_SOURCE))) $(DL_DIR)/$($(PKG)_SOURCE) | \ - $(TAR) --strip-components=1 -C $(@D) $(TAR_OPTIONS) - - touch $@ + $(Q)mkdir -p $(@D) + $(Q)$(INFLATE$(suffix $($(PKG)_SOURCE))) $(DL_DIR)/$($(PKG)_SOURCE) | \ + $(Q)$(TAR) --strip-components=1 -C $(@D) $(TAR_OPTIONS) - + $(Q)touch $@ # Patch $(BUILD_DIR)/%/.stamp_patched: NAMEVER = $($(PKG)_NAME)-$($(PKG)_VERSION) $(BUILD_DIR)/%/.stamp_patched: $(call MESSAGE,"Patching") $(if $($(PKG)_PATCH),toolchain/patch-kernel.sh $(@D) $(DL_DIR) $($(PKG)_PATCH)) - (if test -d package/$($(PKG)_NAME) ; then \ + $(Q)(if test -d package/$($(PKG)_NAME) ; then \ if test "$(wildcard package/$($(PKG)_NAME)/$(NAMEVER)*.patch)" ; then \ toolchain/patch-kernel.sh $(@D) package/$($(PKG)_NAME) $(NAMEVER)\*.patch || exit 1 ; \ else \ @@ -158,24 +158,25 @@ $(BUILD_DIR)/%/.stamp_patched: fi; \ fi) ifeq ($(strip $(BR2_UPDATE_CONFIG)),y) - @(for file in config.guess config.sub; do \ + $(Q)(for file in config.guess config.sub; do \ for i in $$(find $(@D) -name $$file); do \ cp package/gnuconfig/$$file $$i; \ done;\ done) endif - touch $@ + $(Q)touch $@ # Running autoreconf $(BUILD_DIR)/%/.stamp_autoconfigured: $(call MESSAGE,"Running autoreconf") - cd $(@D)/$($(PKG)_SUBDIR) && $(AUTORECONF) - touch $@ + $(Q)cd $(@D)/$($(PKG)_SUBDIR) && $(AUTORECONF) + $(Q)touch $@ # Configuring $(BUILD_DIR)/%/.stamp_configured: $(call MESSAGE,"Configuring") - if test "$($(PKG)_AUTORECONF)" = "YES" ; then \ + $(Q)if test "$($(PKG)_AUTORECONF)" = "YES" ; then \ + $(call MESSAGE,"Running autoreconf") cd $(@D)/$($(PKG)_SUBDIR) && \ $(AUTORECONF) ; \ fi @@ -192,13 +193,13 @@ $(BUILD_DIR)/%/.stamp_configured: --exec-prefix=/usr \ --sysconfdir=/etc \ $($(PKG)_CONF_OPT) - touch $@ + $(Q)touch $@ # Build $(BUILD_DIR)/%/.stamp_built: $(call MESSAGE,"Building") $($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_MAKE_OPT) -C $(@D)/$($(PKG)_SUBDIR) - touch $@ + $(Q)touch $@ # Install to staging dir $(BUILD_DIR)/%/.stamp_staging_installed: -- 2.30.2