summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2011-04-26 17:19:28 -0400
committerMichal Marek <mmarek@suse.cz>2011-05-12 16:30:41 +0200
commit2ee2d29289951b4cb7578d75f199e4aa4084fe6f (patch)
treef1fdd8e66485c015e3b45debe5c7c0679b71c50b /Makefile
parent436f876ccb4eac8ae53a101852824977a0f344eb (diff)
downloadlinux-2ee2d29289951b4cb7578d75f199e4aa4084fe6f.tar.gz
linux-2ee2d29289951b4cb7578d75f199e4aa4084fe6f.tar.bz2
linux-2ee2d29289951b4cb7578d75f199e4aa4084fe6f.zip
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9b6610e005aa..bfe3e36c2c43 100644
--- a/Makefile
+++ b/Makefile
@@ -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