When setting `V=0`, we expect the verbosity level to be reduced, and
only the build output to be printed, not the build commands.
Set `Q = @` by default, in case `V != 0` is set, set `Q` appropriately.
Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
GitHub-Fixes: #676
Reviewed-by: Razvan Virtan <virtanrazvan@gmail.com>
Reviewed-by: Robert Kuban <robert.kuban@opensynergy.com>
Reviewed-by: Maria Sfiraiala <maria.sfiraiala@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #1066
# To put more focus on warnings, be less verbose as default
# Use 'make V=1' to see the full commands
+# Set KBUILD_VERBOSE and Q to quiet mode
+KBUILD_VERBOSE := 0
+Q := @
+
ifeq ("$(origin V)", "command line")
BUILD_VERBOSE = $(V)
endif
ifndef BUILD_VERBOSE
BUILD_VERBOSE = 0
- # Set KBUILD_VERBOSE and Q to quiet mode
- KBUILD_VERBOSE := 0
- Q := @
endif
ifneq ($(BUILD_VERBOSE),0)