From: Thomas Petazzoni Date: Thu, 23 Dec 2010 09:31:08 +0000 (+0100) Subject: toolchain: add missing stamp file touch in external toolchain X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e6633fd2e37d25f32958f30e852baa216ce1384a;p=buildroot.git toolchain: add missing stamp file touch in external toolchain In the support of custom external toolchains, we forgot to touch the $(STAMP_DIR)/ext-toolchain-checked stamp file, which means that the toolchain was re-checked and re-installed at everyt build. At the same time, quietize a bit other stamp files touch. Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- diff --git a/toolchain/toolchain-external/ext-tool.mk b/toolchain/toolchain-external/ext-tool.mk index d6153f14d1..ab8bc947a7 100644 --- a/toolchain/toolchain-external/ext-tool.mk +++ b/toolchain/toolchain-external/ext-tool.mk @@ -137,7 +137,7 @@ $(DL_DIR)/$(TOOLCHAIN_EXTERNAL_SOURCE): $(TOOLCHAIN_EXTERNAL_DIR)/.extracted: $(DL_DIR)/$(TOOLCHAIN_EXTERNAL_SOURCE) mkdir -p $(@D) $(INFLATE$(suffix $(TOOLCHAIN_EXTERNAL_SOURCE))) $^ | $(TAR) $(TAR_STRIP_COMPONENTS)=1 -C $(@D) $(TAR_OPTIONS) - - touch $@ + $(Q)touch $@ # Checks for an already installed toolchain: check the toolchain # location, check that it supports sysroot, and then verify that it @@ -165,6 +165,7 @@ $(STAMP_DIR)/ext-toolchain-checked: else \ $(call check_glibc,$${SYSROOT_DIR}) ; \ fi + $(Q)touch $@ # Integration of the toolchain into Buildroot: find the main sysroot # and the variant-specific sysroot, then copy the needed libraries to @@ -194,4 +195,4 @@ $(STAMP_DIR)/ext-toolchain-installed: $(TOOLCHAIN_EXTERNAL_DEPENDENCIES) if [ -L $${ARCH_SYSROOT_DIR}/lib64 ] ; then \ $(call create_lib64_symlinks) ; \ fi ; \ - touch $@ + $(Q)touch $@