kbuild: make versioncheck work in KBUILD_OUTDIR

This patch fixes the versioncheck 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>
This commit is contained in:
Peter Foley 2011-04-26 17:19:28 -04:00 committed by Michal Marek
parent 436f876ccb
commit 2ee2d29289

View File

@ -1401,7 +1401,7 @@ includecheck:
| xargs $(PERL) -w $(srctree)/scripts/checkincludes.pl
versioncheck:
find * $(RCS_FIND_IGNORE) \
find $(srctree)/* $(RCS_FIND_IGNORE) \
-name '*.[hcS]' -type f -print | sort \
| xargs $(PERL) -w $(srctree)/scripts/checkversion.pl