Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

kernel-doc: set verbose mode via environment

Honor the environment variable "KBUILD_VERBOSE=1" (as set by make V=1) to
enable verbose mode in scripts/kernel-doc. Useful for getting more info and
warnings from kernel-doc.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Randy Dunlap and committed by
Linus Torvalds
bd0e88e5 fd28841d

+4
+4
scripts/kernel-doc
··· 247 247 my ($type,$declaration_name,$return_type); 248 248 my ($newsection,$newcontents,$prototype,$filelist, $brcount, %source_map); 249 249 250 + if (defined($ENV{'KBUILD_VERBOSE'})) { 251 + $verbose = "$ENV{'KBUILD_VERBOSE'}"; 252 + } 253 + 250 254 # Generated docbook code is inserted in a template at a point where 251 255 # docbook v3.1 requires a non-zero sequence of RefEntry's; see: 252 256 # http://www.oasis-open.org/docbook/documentation/reference/html/refentry.html