* [PATCH RESEND 3/4] kbuild: make includecheck work in KBUILD_OUTDIR
@ 2011-04-29 21:40 Peter Foley
0 siblings, 0 replies; only message in thread
From: Peter Foley @ 2011-04-29 21:40 UTC (permalink / raw)
To: linux-kernel; +Cc: linux-kbuild, Michal Marek
[-- Attachment #1: Type: text/plain, Size: 644 bytes --]
This patch fixes the includecheck 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(-)
diff --git a/Makefile b/Makefile
index 093c9d2..bfa0e90 100644
--- a/Makefile
+++ b/Makefile
@@ -1396,7 +1396,7 @@ tags TAGS cscope gtags: FORCE
PHONY += includecheck versioncheck coccicheck namespacecheck export_report
includecheck:
- find * $(RCS_FIND_IGNORE) \
+ find $(srctree)/* $(RCS_FIND_IGNORE) \
-name '*.[hcS]' -type f -print | sort \
| xargs $(PERL) -w $(srctree)/scripts/checkincludes.pl
--
1.7.5.rc1
[-- Attachment #2: kbuild-make-includecheck-work-in-KBUILD_OUTDIR.patch --]
[-- Type: text/plain, Size: 777 bytes --]
>From dac505664370c0821293f62c03d9878a19da1f44 Mon Sep 17 00:00:00 2001
From: Peter Foley <pefoley2@verizon.net>
Date: Tue, 26 Apr 2011 17:18:29 -0400
Subject: [PATCH 05/23] kbuild: make includecheck work in KBUILD_OUTDIR
Signed-off-by: Peter Foley <pefoley2@verizon.net>
---
Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index 093c9d2..bfa0e90 100644
--- a/Makefile
+++ b/Makefile
@@ -1396,7 +1396,7 @@ tags TAGS cscope gtags: FORCE
PHONY += includecheck versioncheck coccicheck namespacecheck export_report
includecheck:
- find * $(RCS_FIND_IGNORE) \
+ find $(srctree)/* $(RCS_FIND_IGNORE) \
-name '*.[hcS]' -type f -print | sort \
| xargs $(PERL) -w $(srctree)/scripts/checkincludes.pl
--
1.7.5.rc1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-04-29 21:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-29 21:40 [PATCH RESEND 3/4] kbuild: make includecheck work in KBUILD_OUTDIR Peter Foley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox