# HG changeset patch # User "Yann E. MORIN" # Date 1227281866 0 # Node ID 860c6c633565483fe157d0840ff333f6efe410a6 # Parent 753c86c242fcea50a797a0946b721deb8d93d352 Be less verbose when a sample is directly built with build-sample-name. /trunk/samples/samples.mk | 7 3 4 0 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff -r 753c86c242fc -r 860c6c633565 samples/samples.mk --- a/samples/samples.mk Fri Nov 21 06:39:52 2008 +0000 +++ b/samples/samples.mk Fri Nov 21 15:37:46 2008 +0000 @@ -95,18 +95,17 @@ # $1: sample tuple # $2: prefix define build_sample - @$(ECHO) ' CP .config' + @$(ECHO) ' CONF $(1)' $(SILENT)cp $(call sample_dir,$(1))/crosstool.config .config - @$(ECHO) ' SED .config' $(SILENT)sed -i -r -e 's:^(CT_PREFIX_DIR=).*$$:\1"$(2)":;' .config $(SILENT)sed -i -r -e 's:^.*(CT_LOG_(WARN|INFO|EXTRA|DEBUG|ALL)).*$$:# \1 is not set:;' .config $(SILENT)sed -i -r -e 's:^.*(CT_LOG_ERROR).*$$:\1=y:;' .config $(SILENT)sed -i -r -e 's:^(CT_LOG_LEVEL_MAX)=.*$$:\1="ERROR":;' .config $(SILENT)sed -i -r -e 's:^.*(CT_LOG_TO_FILE).*$$:\1=y:;' .config $(SILENT)sed -i -r -e 's:^.*(CT_LOG_PROGRESS_BAR).*$$:\1=y:;' .config - $(SILENT)$(MAKE) -rf $(CT_NG) V=$(V) oldconfig + $(SILENT)$(MAKE) -rf $(CT_NG) V=0 oldconfig @$(ECHO) ' BUILD $(1)' - $(SILENT)$(MAKE) -rf $(CT_NG) V=$(V) build + $(SILENT)$(MAKE) -rf $(CT_NG) V=0 build endef # ----------------------------------------------------------