* [PATCH] Fix out of tree builds broken by i915/i915_trace_points.c
@ 2010-04-21 21:07 Peter Clifton
2010-05-02 18:18 ` Eric Anholt
0 siblings, 1 reply; 2+ messages in thread
From: Peter Clifton @ 2010-04-21 21:07 UTC (permalink / raw)
To: intel-gfx
[-- Attachment #1: Type: text/plain, Size: 267 bytes --]
Patch attached.
--
Peter Clifton
Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA
Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)
[-- Attachment #2: 0001-drm-i915-Fix-out-of-tree-builds.patch --]
[-- Type: text/x-patch, Size: 1315 bytes --]
>From 63dab13a63c57be8a76ac1f01bbee66230eb1659 Mon Sep 17 00:00:00 2001
From: Peter Clifton <pcjc2@cam.ac.uk>
Date: Wed, 21 Apr 2010 22:03:21 +0100
Subject: [PATCH] drm/i915: Fix out of tree builds
Fixes up include paths for i915_trace.h by setting additional CFLAGS
for i915_trace_points.c to include the $src directory. The required
TRACE_INCLUDE_PATH is then "."
---
drivers/gpu/drm/i915/Makefile | 2 ++
drivers/gpu/drm/i915/i915_trace.h | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/i915/Makefile b/drivers/gpu/drm/i915/Makefile
index 9929f84..9563901 100644
--- a/drivers/gpu/drm/i915/Makefile
+++ b/drivers/gpu/drm/i915/Makefile
@@ -33,3 +33,5 @@ i915-$(CONFIG_ACPI) += i915_opregion.o
i915-$(CONFIG_COMPAT) += i915_ioc32.o
obj-$(CONFIG_DRM_I915) += i915.o
+
+CFLAGS_i915_trace_points.o := -I$(src)
diff --git a/drivers/gpu/drm/i915/i915_trace.h b/drivers/gpu/drm/i915/i915_trace.h
index 01840d9..5498b37 100644
--- a/drivers/gpu/drm/i915/i915_trace.h
+++ b/drivers/gpu/drm/i915/i915_trace.h
@@ -312,5 +312,5 @@ TRACE_EVENT(i915_ring_wait_end,
/* This part must be outside protection */
#undef TRACE_INCLUDE_PATH
-#define TRACE_INCLUDE_PATH ../../drivers/gpu/drm/i915
+#define TRACE_INCLUDE_PATH .
#include <trace/define_trace.h>
--
1.7.0.4
[-- Attachment #3: Type: text/plain, Size: 159 bytes --]
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix out of tree builds broken by i915/i915_trace_points.c
2010-04-21 21:07 [PATCH] Fix out of tree builds broken by i915/i915_trace_points.c Peter Clifton
@ 2010-05-02 18:18 ` Eric Anholt
0 siblings, 0 replies; 2+ messages in thread
From: Eric Anholt @ 2010-05-02 18:18 UTC (permalink / raw)
To: Peter Clifton, intel-gfx
[-- Attachment #1.1: Type: text/plain, Size: 339 bytes --]
On Wed, 21 Apr 2010 22:07:12 +0100, Peter Clifton <pcjc2@cam.ac.uk> wrote:
> Patch attached.
Please include a Signed-off-by indicating agreement with
Documentation/SubmittingPatches: so I can apply it to the kernel. Also,
git send-email instead of attachments makes it so I don't have to
hand-edit your commit messages after applying :)
[-- Attachment #1.2: Type: application/pgp-signature, Size: 197 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-02 18:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-21 21:07 [PATCH] Fix out of tree builds broken by i915/i915_trace_points.c Peter Clifton
2010-05-02 18:18 ` Eric Anholt
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.