Skip to contentSkip to conversation

kbuild: make versioncheckcheck work in KBUILD_OUTDIR

PATCH RESEND In review Peter Foley 1 participant 1 message Apr 29, 2011 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 4/4 kbuild: make versioncheckcheck work in KBUILD_OUTDIR

This patch fixes the versioncheck target so it works when make is invoked in KBUILD_OUTDIR.

---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Makefile +1 -1
index bfa0e90..56971f9 100644
@@ -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
 
Signature · 1 line
1.7.5.rc1

From 8b647ee346014ed4148ffd1887b30eb6f740f29b Mon Sep 17 00:00:00 2001
From: Peter Foley <[email protected]>
Date: Tue, 26 Apr 2011 17:19:28 -0400
Subject: [PATCH 4/4] kbuild: make versioncheck work in KBUILD_OUTDIR

---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Makefile +1 -1
index bfa0e90..56971f9 100644
@@ -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
 
Signature · 1 line
1.7.5.rc1