]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6ea097b4e6f933b505c6f9ed9087f26356c116dd
tree41a1761f96a1be1b86ba261e12c3a2f3e7bdf1f2
parent76e72ee99cf596872e8db34f8423b0aa71d4e6d7
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