aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2011-04-26 17:18:29 -0400
committerMichal Marek <mmarek@suse.cz>2011-05-12 16:30:40 +0200
commit436f876ccb4eac8ae53a101852824977a0f344eb (patch)
treebe0e9998ff1967036d04c0b21e0e220b6c60dcff /Makefile
parent9663d9890d80408c4a5c8280c5db775fbe082203 (diff)
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 <pefoley2@verizon.net> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6b21de15c82..9b6610e005a 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