The top Makefile sets KBUILD_VERBOSE to 0 by default, it looks weird now because V=1 and V=2 can be OR'ed as V=12. The default should be empty.
Unified · Split
| @@ -523,7 +523,7 @@ more details, with real examples. · 522 unmodified lines | ||
| 523 | 523 | $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $(boot)/$@ |
| 524 | 524 | @$(kecho) ' Kernel: $(boot)/$@ is ready' |
| 525 | 525 | |
| 526 | − When kbuild is executing with KBUILD_VERBOSE=0, then only a shorthand | |
| 526 | + When kbuild is executing with KBUILD_VERBOSE unset, then only a shorthand | |
| 527 | 527 | of a command is normally displayed. |
| 528 | 528 | To enable this behaviour for custom commands kbuild requires |
| 529 | 529 | two variables to be set:: |
| @@ -544,7 +544,7 @@ more details, with real examples. · 14 unmodified lines | ||
| 544 | 544 | |
| 545 | 545 | GEN lib/crc32table.h |
| 546 | 546 | |
| 547 | − will be displayed with "make KBUILD_VERBOSE=0". | |
| 547 | + will be displayed with "make KBUILD_VERBOSE=". | |
| 548 | 548 | |
| 549 | 549 | 3.12 Command change detection |
| 550 | 550 | ----------------------------- |
| @@ -78,9 +78,6 @@ unexport GREP_OPTIONS · 77 unmodified lines | ||
| 78 | 78 | ifeq ("$(origin V)", "command line") |
| 79 | 79 | KBUILD_VERBOSE = $(V) |
| 80 | 80 | endif |
| 81 | −ifndef KBUILD_VERBOSE | |
| 82 | − KBUILD_VERBOSE = 0 | |
| 83 | −endif | |
| 84 | 81 | |
| 85 | 82 | quiet = quiet_ |
| 86 | 83 | Q = @ |
| @@ -102,7 +99,7 @@ endif · 15 unmodified lines | ||
| 102 | 99 | |
| 103 | 100 | ifneq ($(findstring s,$(short-opts)),) |
| 104 | 101 | quiet=silent_ |
| 105 | −KBUILD_VERBOSE = 0 | |
| 102 | +override KBUILD_VERBOSE := | |
| 106 | 103 | endif |
| 107 | 104 | |
| 108 | 105 | export quiet Q KBUILD_VERBOSE |
| @@ -1774,7 +1771,7 @@ help: · 1665 unmodified lines | ||
| 1774 | 1771 | printf " %-16s - Show all of the above\\n" help-boards; \ |
| 1775 | 1772 | echo '') |
| 1776 | 1773 | |
| 1777 | − @echo ' make V=n [targets] 0: quiet build (default), 1: verbose build' | |
| 1774 | + @echo ' make V=n [targets] 1: verbose build' | |
| 1778 | 1775 | @echo ' 2: give reason for rebuild of target' |
| 1779 | 1776 | @echo ' V=1 and V=2 can be combined with V=12' |
| 1780 | 1777 | @echo ' make O=dir [targets] Locate all output files in "dir", including .config' |