Fix check-kerneldoc for out of tree builds
PATCH 1/1 Fix check-kerneldoc for out of tree builds
Search the source path rather than cwd.
---
I leave ctags and cscope targets not working, since I don't use those tools and so don't have a test at hand. Being dev tools maybe(?) they would only get used in the source directory anyway, whereas check targets are useful for CI, etc.
It should be trivial to fix them up if we want though.
Thanks,
Nick
---
Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
@@ -150,4 +150,4 @@ tags: ctags -R check-kerneldoc: - find . -name '*.[ch]' -exec scripts/kernel-doc -none {} + + find $(SRCDIR) -name '*.[ch]' -exec scripts/kernel-doc -none {} +
Signature · 1 line
2.43.0
Quoted 23 lines · Nicholas Piggin
Search the source path rather than cwd.
Signed-off-by Nicholas Piggin <[email protected]>---
I leave ctags and cscope targets not working, since I don't use those tools and so don't have a test at hand. Being dev tools maybe(?) they would only get used in the source directory anyway, whereas check targets are useful for CI, etc.It should be trivial to fix them up if we want though.
Thanks,
Nick
---Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Makefile +0
-0
Makefile tags: · line 153
Quoted 5 lines
Makefile +1
-1@@ -150,4 +150,4 @@ tags: ctags -R check-kerneldoc: - find . -name '*.[ch]' -exec scripts/kernel-doc -none {} + + find $(SRCDIR) -name '*.[ch]' -exec scripts/kernel-doc -none {} +