[git commit] buildsys: swap V=1 with V=2 command printing

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Wed Apr 29 08:22:18 UTC 2015


commit: http://git.uclibc.org/uClibc/commit/?id=3010966c6dc170425452d0dda4922aaf1585b6b5
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

Previously V=1 did print abbreviated commands and V=2 the full commands.

Kbuild-based build-systems behave in the opposite way and this is
apparently confusing or inconvenient for users so swap our V handling to
be in line with kbuild (and automake as far as V=0 / V=1 is concerned).

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 Makefile.help            |    4 ++--
 Makerules                |    2 +-
 extra/locale/Makefile.in |    4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Makefile.help b/Makefile.help
index abc6471..f6c7627 100644
--- a/Makefile.help
+++ b/Makefile.help
@@ -53,8 +53,8 @@ help:
 	@echo 'Environment variables:'
 	@echo '  O=<abspath>		- Use <abspath> as object directory'
 	@echo '  V="" 			- Quiet build (default)'
-	@echo '  V=1			- Brief build (show defines, ld flags)'
-	@echo '  V=2			- Very verbose build'
+	@echo '  V=1			- Very verbose build (show full commands)'
+	@echo '  V=2			- Brief build (show defines, ld flags)'
 	@echo '  CROSS_COMPILE=		- Override CROSS_COMPILER_PREFIX from .config'
 	@echo '  ARCH= 		- Use given arch for config targets'
 	@echo '  SHELL=		- Shell to use for make'
diff --git a/Makerules b/Makerules
index 3ef756e..d6f7e24 100644
--- a/Makerules
+++ b/Makerules
@@ -94,7 +94,7 @@ else
 export MAKE_IS_SILENT := n
 SECHO := @echo
 ifneq ($(V)$(VERBOSE),)
-ifeq ($(V),1)
+ifeq ($(V),2)
 DISP := bri# brief, like pur but with defines
 Q := @
 else
diff --git a/extra/locale/Makefile.in b/extra/locale/Makefile.in
index 1a2305b..7ec9f53 100644
--- a/extra/locale/Makefile.in
+++ b/extra/locale/Makefile.in
@@ -155,10 +155,10 @@ $(locale_OUT)/gen_wctype : $(locale_DIR)/gen_wctype.c
 
 ifneq ($(V),)
 ifeq ($(V),1)
-FLAG-locale-verbose := -v
+FLAG-locale-verbose := -v -v
 endif
 ifeq ($(V),2)
-FLAG-locale-verbose := -v -v
+FLAG-locale-verbose := -v
 endif
 endif
 


More information about the uClibc-cvs mailing list