1.1 --- a/samples/samples.mk Tue Oct 14 21:30:27 2008 +0000
1.2 +++ b/samples/samples.mk Mon Oct 27 18:39:24 2008 +0000
1.3 @@ -33,12 +33,12 @@
1.4 # How we do recall one sample
1.5 PHONY += $(CT_SAMPLES)
1.6 $(CT_SAMPLES):
1.7 - @cp $(call sample_dir,$@)/crosstool.config .config
1.8 - @$(MAKE) -rf $(CT_NG) oldconfig
1.9 + $(SILENT)cp $(call sample_dir,$@)/crosstool.config .config
1.10 + $(SILENT)$(MAKE) -rf $(CT_NG) oldconfig
1.11 @echo
1.12 @echo '***********************************************************'
1.13 @echo
1.14 - @( . $(call sample_dir,$@)/reported.by; \
1.15 + $(SILENT)( . $(call sample_dir,$@)/reported.by; \
1.16 echo "Initially reported by: $${reporter_name:-Yann E. MORIN}"; \
1.17 echo "URL: $${reporter_url:-http://ymorin.is-a-geek.org/}"; \
1.18 if [ -n "$${reporter_comment}" ]; then \
1.19 @@ -49,14 +49,14 @@
1.20 echo ; \
1.21 echo '***********************************************************'; \
1.22 )
1.23 - @if grep -E '^CT_EXPERIMENTAL=y$$' .config >/dev/null 2>&1; then \
1.24 - echo ; \
1.25 - echo 'WARNING! This sample may enable experimental features.'; \
1.26 - echo ' Please be sure to review the configuration prior'; \
1.27 - echo ' to building and using your toolchain!'; \
1.28 - echo 'Now, you have been warned!'; \
1.29 - echo ; \
1.30 - echo '***********************************************************'; \
1.31 + $(SILENT)if grep -E '^CT_EXPERIMENTAL=y$$' .config >/dev/null 2>&1; then \
1.32 + echo ; \
1.33 + echo 'WARNING! This sample may enable experimental features.'; \
1.34 + echo ' Please be sure to review the configuration prior'; \
1.35 + echo ' to building and using your toolchain!'; \
1.36 + echo 'Now, you have been warned!'; \
1.37 + echo ; \
1.38 + echo '***********************************************************'; \
1.39 fi
1.40 @echo
1.41 @echo 'Now configured for "$@"'
1.42 @@ -76,7 +76,7 @@
1.43 regtest-global: $(patsubst %,regtest_%,$(CT_LIB_SAMPLES))
1.44
1.45 regtest.% regtest-local.% regtest-global.%:
1.46 - @$(CT_NG) $(shell echo "$(@)" |sed -r -e 's|^([^.]+)\.([[:digit:]]+)$$|\1 CT_JOBS=\2|;')
1.47 + $(SILENT)$(CT_NG) $(shell echo "$(@)" |sed -r -e 's|^([^.]+)\.([[:digit:]]+)$$|\1 CT_JOBS=\2|;')
1.48
1.49 # One regtest per sample
1.50 # We could use a simple rule like: 'regtest: $(CT_SAMPLES)', but that doesn't
1.51 @@ -88,7 +88,7 @@
1.52 # if the options set has changed, but oldconfig does not like when stdin is
1.53 # not a terminal (eg. it is a pipe).
1.54 $(patsubst %,regtest_%,$(CT_SAMPLES)):
1.55 - @samp=$(patsubst regtest_%,%,$@) ; \
1.56 + $(SILENT)samp=$(patsubst regtest_%,%,$@) ; \
1.57 echo -e "\rBuilding sample \"$${samp}\"" && \
1.58 $(CT_NG) copy_config_$${samp} && \
1.59 yes "" |$(CT_NG) defoldconfig >/dev/null 2>&1 && \
1.60 @@ -109,7 +109,7 @@
1.61 echo -e "\r"
1.62
1.63 saveconfig:
1.64 - @$(CT_LIB_DIR)/scripts/saveSample.sh
1.65 + $(SILENT)$(CT_LIB_DIR)/scripts/saveSample.sh
1.66
1.67 wiki-samples:
1.68 - @$(CT_LIB_DIR)/scripts/showSamples.sh -w $(CT_SAMPLES)
1.69 + $(SILENT)$(CT_LIB_DIR)/scripts/showSamples.sh -w $(CT_SAMPLES)