diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2015-11-04 02:50:05 -0800 |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2015-11-04 02:50:05 -0800 |
commit | 85f98147f57b3001282fc0365be245b9c81a3a16 (patch) | |
tree | 5f5287226ebc2039b016deff29eea450409c900f /ct-ng.in | |
parent | 5ffc9ecd10dec73024f8e7f3815c7b2f0851ba56 (diff) | |
parent | b2f8afef8532247c60764fffc938898903c06a4c (diff) | |
download | crosstool-ng-85f98147f57b3001282fc0365be245b9c81a3a16.tar.gz crosstool-ng-85f98147f57b3001282fc0365be245b9c81a3a16.tar.bz2 crosstool-ng-85f98147f57b3001282fc0365be245b9c81a3a16.zip |
Merge pull request #233 from stilor/fix-build-all
Fix build-all
Diffstat (limited to 'ct-ng.in')
-rw-r--r-- | ct-ng.in | 21 |
1 files changed, 11 insertions, 10 deletions
@@ -41,24 +41,24 @@ export CT_STOP:=$(STOP) export CT_RESTART:=$(RESTART) SILENT=@ -ECHO=echo +CT_ECHO=echo ifeq ($(strip $(origin V)),command line) ifeq ($(strip $(V)),0) SILENT=@ - ECHO=: + CT_ECHO=: else ifeq ($(strip $(V)),1) SILENT= - ECHO=: + CT_ECHO=: else ifeq ($(strip $(V)),2) SILENT= - ECHO=echo + CT_ECHO=echo endif # V == 2 endif # V== 1 endif # V == 0 endif # origin V -export V SILENT ECHO +export V SILENT CT_ECHO all: help @@ -123,7 +123,8 @@ help-config:: help-distrib:: help-env:: - @echo ' V=0|1|2 - 0 => show only human-readable messages (default)' + @echo ' V=0|1|2|<unset> - <unset> show only human-readable messages (default)' + @echo ' 0 => do not show commands or human-readable message' @echo ' 1 => show only the commands being executed' @echo ' 2 => show both' @@ -165,14 +166,14 @@ version: PHONY += clean clean:: - @$(ECHO) " CLEAN log" + @$(CT_ECHO) " CLEAN log" $(SILENT)rm -f build.log - @$(ECHO) " CLEAN build dir" + @$(CT_ECHO) " CLEAN build dir" $(SILENT)[ ! -d targets ] || chmod -R u+w targets $(SILENT)[ ! -d .build ] || chmod -R u+w .build - $(SILENT)rm -rf targets .build + $(SILENT)rm -rf targets .build .build-all PHONY += distclean distclean:: clean - @$(ECHO) " CLEAN .config" + @$(CT_ECHO) " CLEAN .config" $(SILENT)rm -f .config .config.* ..config* |