Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Peter Foley and committed by
Michal Marek
436f876c 9663d989

+1 -1
+1 -1
Makefile
··· 1396 1396 PHONY += includecheck versioncheck coccicheck namespacecheck export_report 1397 1397 1398 1398 includecheck: 1399 - find * $(RCS_FIND_IGNORE) \ 1399 + find $(srctree)/* $(RCS_FIND_IGNORE) \ 1400 1400 -name '*.[hcS]' -type f -print | sort \ 1401 1401 | xargs $(PERL) -w $(srctree)/scripts/checkincludes.pl 1402 1402