kbuild: fix a build error during make htmldocs
PATCH 1/1 kbuild: fix a build error during make htmldocs
Fix the following build error when do 'make htmldocs':
DOCPROC Documentation/DocBook/debugobjects.xml
exec /scripts/kernel-doc: No such file or directory exec /scripts/kernel-doc: No such file or directory
Reported-by Randy Dunlap <[email protected]>
Signed-off-by WANG Cong <[email protected]>
Cc Sam <[email protected]>
Acked-by Randy Dunlap <[email protected]>
---
scripts/basic/docproc.c +1 -1
@@ -385,7 +385,7 @@ int main(int argc, char *argv[])if (!srctree) srctree =getcwd (NULL ,0 ); kernsrctree =getenv ("KBUILD_SRC" ); -if (!kernsrctree) +if (!kernsrctree || !*kernsrctree) kernsrctree = srctree;if (argc !=3 ) {usage ();
Sam Ravnborg
AppliedQuoted 11 lines · Amerigo Wang
Fix the following build error when do 'make htmldocs':
DOCPROC
Documentation/DocBook/debugobjects.xml
exec /scripts/kernel-doc: No such file or directory exec /scripts/kernel-doc: No such file or directoryReported-by Randy Dunlap <[email protected]>Signed-off-by WANG Cong <[email protected]>Cc Sam <[email protected]>Acked-by Randy Dunlap <[email protected]>
Applied, thanks Wang.
Sam