From: Peter Foley Date: Tue, 26 Apr 2011 21:18:29 +0000 (-0400) Subject: kbuild: make includecheck work in KBUILD_OUTDIR X-Git-Tag: v3.0-rc1~157^2~4 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=436f876ccb4eac8ae53a101852824977a0f344eb;p=karo-tx-linux.git kbuild: make includecheck work in KBUILD_OUTDIR This patch fixes the includecheck target so it works when make is invoked in KBUILD_OUTDIR. Signed-off-by: Peter Foley Signed-off-by: Michal Marek --- diff --git a/Makefile b/Makefile index 6b21de15c82e..9b6610e005aa 100644 --- a/Makefile +++ b/Makefile @@ -1396,7 +1396,7 @@ tags TAGS cscope gtags: FORCE PHONY += includecheck versioncheck coccicheck namespacecheck export_report includecheck: - find * $(RCS_FIND_IGNORE) \ + find $(srctree)/* $(RCS_FIND_IGNORE) \ -name '*.[hcS]' -type f -print | sort \ | xargs $(PERL) -w $(srctree)/scripts/checkincludes.pl