summaryrefslogtreecommitdiff
path: root/scripts/kernel-doc
diff options
context:
space:
mode:
authorTom Rini <trini@kernel.crashing.org>2004-10-17 03:51:27 +0200
committerSam Ravnborg <sam@mars.ravnborg.org>2004-10-17 03:51:27 +0200
commit111cf588d3fdb9b9bb596bfd38705ccc690499d7 (patch)
treee4f966528e97f798ef2166d0e9fea3c9b65d521a /scripts/kernel-doc
parent98d80463f8fcdcb66670da698a880b4b45be2c4c (diff)
kbuild: fix 'htmldocs' and friends with O=
The following patch fixes up 'htmldocs' and related to work when trees are being built with O=. I fixed it all up by passing the srctree as an env-var to docproc (and thus what it calls) and then pull that out when needed. Signed-off-by: Tom Rini <trini@kernel.crashing.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/kernel-doc')
-rwxr-xr-xscripts/kernel-doc2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc
index aa7ffee63b45..767cb2365a82 100755
--- a/scripts/kernel-doc
+++ b/scripts/kernel-doc
@@ -1531,7 +1531,7 @@ sub process_state3_type($$) {
}
sub process_file($) {
- my ($file) = @_;
+ my ($file) = "$ENV{'SRCTREE'}@_";
my $identifier;
my $func;
my $initial_section_counter = $section_counter;