- add some $(Q) here and there
This commit is contained in:
parent
7ebb9e97b9
commit
6be775f892
@ -129,25 +129,25 @@ TAR ?= tar
|
|||||||
# Retrieve and unpack the archive
|
# Retrieve and unpack the archive
|
||||||
$(BUILD_DIR)/%/.stamp_downloaded:
|
$(BUILD_DIR)/%/.stamp_downloaded:
|
||||||
$(call MESSAGE,"Downloading")
|
$(call MESSAGE,"Downloading")
|
||||||
test -e $(DL_DIR)/$($(PKG)_SOURCE) || $(WGET) -P $(DL_DIR) $($(PKG)_SITE)/$($(PKG)_SOURCE)
|
$(Q)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))
|
$(if $($(PKG)_PATCH),$(Q)test -e $(DL_DIR)/$($(PKG)_PATCH) || $(WGET) -P $(DL_DIR) $($(PKG)_SITE)/$($(PKG)_PATCH))
|
||||||
mkdir -p $(@D)
|
$(Q)mkdir -p $(@D)
|
||||||
touch $@
|
$(Q)touch $@
|
||||||
|
|
||||||
# Retrieve and unpack the archive
|
# Retrieve and unpack the archive
|
||||||
$(BUILD_DIR)/%/.stamp_extracted:
|
$(BUILD_DIR)/%/.stamp_extracted:
|
||||||
$(call MESSAGE,"Extracting")
|
$(call MESSAGE,"Extracting")
|
||||||
mkdir -p $(@D)
|
$(Q)mkdir -p $(@D)
|
||||||
$(INFLATE$(suffix $($(PKG)_SOURCE))) $(DL_DIR)/$($(PKG)_SOURCE) | \
|
$(Q)$(INFLATE$(suffix $($(PKG)_SOURCE))) $(DL_DIR)/$($(PKG)_SOURCE) | \
|
||||||
$(TAR) --strip-components=1 -C $(@D) $(TAR_OPTIONS) -
|
$(Q)$(TAR) --strip-components=1 -C $(@D) $(TAR_OPTIONS) -
|
||||||
touch $@
|
$(Q)touch $@
|
||||||
|
|
||||||
# Patch
|
# Patch
|
||||||
$(BUILD_DIR)/%/.stamp_patched: NAMEVER = $($(PKG)_NAME)-$($(PKG)_VERSION)
|
$(BUILD_DIR)/%/.stamp_patched: NAMEVER = $($(PKG)_NAME)-$($(PKG)_VERSION)
|
||||||
$(BUILD_DIR)/%/.stamp_patched:
|
$(BUILD_DIR)/%/.stamp_patched:
|
||||||
$(call MESSAGE,"Patching")
|
$(call MESSAGE,"Patching")
|
||||||
$(if $($(PKG)_PATCH),toolchain/patch-kernel.sh $(@D) $(DL_DIR) $($(PKG)_PATCH))
|
$(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 \
|
if test "$(wildcard package/$($(PKG)_NAME)/$(NAMEVER)*.patch)" ; then \
|
||||||
toolchain/patch-kernel.sh $(@D) package/$($(PKG)_NAME) $(NAMEVER)\*.patch || exit 1 ; \
|
toolchain/patch-kernel.sh $(@D) package/$($(PKG)_NAME) $(NAMEVER)\*.patch || exit 1 ; \
|
||||||
else \
|
else \
|
||||||
@ -158,24 +158,25 @@ $(BUILD_DIR)/%/.stamp_patched:
|
|||||||
fi; \
|
fi; \
|
||||||
fi)
|
fi)
|
||||||
ifeq ($(strip $(BR2_UPDATE_CONFIG)),y)
|
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 \
|
for i in $$(find $(@D) -name $$file); do \
|
||||||
cp package/gnuconfig/$$file $$i; \
|
cp package/gnuconfig/$$file $$i; \
|
||||||
done;\
|
done;\
|
||||||
done)
|
done)
|
||||||
endif
|
endif
|
||||||
touch $@
|
$(Q)touch $@
|
||||||
|
|
||||||
# Running autoreconf
|
# Running autoreconf
|
||||||
$(BUILD_DIR)/%/.stamp_autoconfigured:
|
$(BUILD_DIR)/%/.stamp_autoconfigured:
|
||||||
$(call MESSAGE,"Running autoreconf")
|
$(call MESSAGE,"Running autoreconf")
|
||||||
cd $(@D)/$($(PKG)_SUBDIR) && $(AUTORECONF)
|
$(Q)cd $(@D)/$($(PKG)_SUBDIR) && $(AUTORECONF)
|
||||||
touch $@
|
$(Q)touch $@
|
||||||
|
|
||||||
# Configuring
|
# Configuring
|
||||||
$(BUILD_DIR)/%/.stamp_configured:
|
$(BUILD_DIR)/%/.stamp_configured:
|
||||||
$(call MESSAGE,"Configuring")
|
$(call MESSAGE,"Configuring")
|
||||||
if test "$($(PKG)_AUTORECONF)" = "YES" ; then \
|
$(Q)if test "$($(PKG)_AUTORECONF)" = "YES" ; then \
|
||||||
|
$(call MESSAGE,"Running autoreconf")
|
||||||
cd $(@D)/$($(PKG)_SUBDIR) && \
|
cd $(@D)/$($(PKG)_SUBDIR) && \
|
||||||
$(AUTORECONF) ; \
|
$(AUTORECONF) ; \
|
||||||
fi
|
fi
|
||||||
@ -192,13 +193,13 @@ $(BUILD_DIR)/%/.stamp_configured:
|
|||||||
--exec-prefix=/usr \
|
--exec-prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
$($(PKG)_CONF_OPT)
|
$($(PKG)_CONF_OPT)
|
||||||
touch $@
|
$(Q)touch $@
|
||||||
|
|
||||||
# Build
|
# Build
|
||||||
$(BUILD_DIR)/%/.stamp_built:
|
$(BUILD_DIR)/%/.stamp_built:
|
||||||
$(call MESSAGE,"Building")
|
$(call MESSAGE,"Building")
|
||||||
$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_MAKE_OPT) -C $(@D)/$($(PKG)_SUBDIR)
|
$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_MAKE_OPT) -C $(@D)/$($(PKG)_SUBDIR)
|
||||||
touch $@
|
$(Q)touch $@
|
||||||
|
|
||||||
# Install to staging dir
|
# Install to staging dir
|
||||||
$(BUILD_DIR)/%/.stamp_staging_installed:
|
$(BUILD_DIR)/%/.stamp_staging_installed:
|
||||||
|
Loading…
Reference in New Issue
Block a user