build: rework verbosity level selection

V=99 and V=1 are now deprecated in favor of a new verbosity class system,
though the old flags are still supported.
You can set the V variable on the command line (or OPENWRT_VERBOSE in the
environment) to one or more of the following characters:

- s: stdout+stderr (equal to the old V=99)
- c: commands (for build systems that suppress commands by default, e.g. kbuild)
- w: warnings/errors only (equal to the old V=1)

SVN-Revision: 31484
This commit is contained in:
Felix Fietkau
2012-04-26 17:53:56 +00:00
parent d7b7b99d6e
commit 34ffb526a2
4 changed files with 22 additions and 22 deletions

View File

@@ -540,7 +540,7 @@ sub update {
my $perform_update=1;
$ENV{SCAN_COOKIE} = $$;
$ENV{KBUILD_VERBOSE} = 99;
$ENV{OPENWRT_VERBOSE} = 's';
getopts('ahi', \%opts);