kbuild: allow docproc invocation from external
authorJiri Slaby <jirislaby@gmail.com>
Sun, 31 May 2009 16:05:34 +0000 (18:05 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Tue, 9 Jun 2009 20:37:44 +0000 (22:37 +0200)
commit2d51005c27a12e43d672debbbb918e7f74987f96
tree41a1761f96a1be1b86ba261e12c3a2f3e7bdf1f2
parentcefdff4b4d5ba3f9b7eee2c1c1827553794cb465
kbuild: allow docproc invocation from external

- getcwd returns path without a slash at the end, add the slash
- add KBUILD_SRC env support, so that we can specify path for
  kernel (to know where scripts/kernel-doc resides) and SRCTREE
  (for searching files referenced in .tmpl) separately

[v2]
- use KBUILD_SRC instead of a newly introduced environment variable

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/basic/docproc.c