OSDN Git Service

buildsys: swap V=1 with V=2 command printing
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 29 Apr 2015 08:22:18 +0000 (10:22 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 29 Apr 2015 08:22:18 +0000 (10:22 +0200)
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@gmail.com>
Makefile.help
Makerules
extra/locale/Makefile.in

index abc6471..f6c7627 100644 (file)
@@ -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'
index 3ef756e..d6f7e24 100644 (file)
--- 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
index 1a2305b..7ec9f53 100644 (file)
@@ -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