From: Peter Foley Date: Tue, 26 Apr 2011 21:19:28 +0000 (-0400) Subject: kbuild: make versioncheck work in KBUILD_OUTDIR X-Git-Tag: firefly_0821_release~7613^2~1147^2~3 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2ee2d29289951b4cb7578d75f199e4aa4084fe6f;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Michal Marek --- 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