aboutsummaryrefslogtreecommitdiffstats
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 10:30:40 -0400
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 6b21de15c82e..9b6610e005aa 100644
--- a/Makefile
+++ b/Makefile
@@ -1396,7 +1396,7 @@ tags TAGS cscope gtags: FORCE
1396PHONY += includecheck versioncheck coccicheck namespacecheck export_report 1396PHONY += includecheck versioncheck coccicheck namespacecheck export_report
1397 1397
1398includecheck: 1398includecheck:
1399 find * $(RCS_FIND_IGNORE) \ 1399 find $(srctree)/* $(RCS_FIND_IGNORE) \
1400 -name '*.[hcS]' -type f -print | sort \ 1400 -name '*.[hcS]' -type f -print | sort \
1401 | xargs $(PERL) -w $(srctree)/scripts/checkincludes.pl 1401 | xargs $(PERL) -w $(srctree)/scripts/checkincludes.pl
1402 1402