diff mbox

[4/4] kbuild: make versioncheckcheck work in KBUILD_OUTDIR

Message ID 4DB73CA6.4030502@verizon.net (mailing list archive)
State New, archived
Headers show

Commit Message

Peter Foley April 26, 2011, 9:44 p.m. UTC
This patch fixes the versioncheck target so it works when make is invoked in KBUILD_OUTDIR.

Signed-off-by: Peter Foley <pefoley2@verizon.net>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/Makefile b/Makefile
index bfa0e90..56971f9 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
 -- 1.7.5.rc1