diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-11-21 15:37:46 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-11-21 15:37:46 +0000 |
commit | 4ffd919be24544e63243ba55f4b7367cfdbbae40 (patch) | |
tree | 203e3cbb618ab6f084d232d9c4be13291e5a7f3d /samples/samples.mk | |
parent | f2ea0ade3a37e1d650e3dbb219dc19f983c40b0d (diff) | |
download | crosstool-ng-4ffd919be24544e63243ba55f4b7367cfdbbae40.tar.gz crosstool-ng-4ffd919be24544e63243ba55f4b7367cfdbbae40.tar.bz2 crosstool-ng-4ffd919be24544e63243ba55f4b7367cfdbbae40.zip |
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(-)
Diffstat (limited to 'samples/samples.mk')
-rw-r--r-- | samples/samples.mk | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/samples/samples.mk b/samples/samples.mk index fb58847a..29b7dbea 100644 --- a/samples/samples.mk +++ b/samples/samples.mk @@ -95,18 +95,17 @@ $(CT_SAMPLES): # $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 # ---------------------------------------------------------- |