summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2011-04-26 23:19:28 +0200
committerMichal Marek <mmarek@suse.cz>2011-05-12 16:30:41 +0200
commit2ee2d29289951b4cb7578d75f199e4aa4084fe6f (patch)
treef1fdd8e66485c015e3b45debe5c7c0679b71c50b /Makefile
parentkbuild: make includecheck work in KBUILD_OUTDIR (diff)
downloadlinux-2ee2d29289951b4cb7578d75f199e4aa4084fe6f.tar.xz
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