All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] drm/i915/oa: add content to Makefile
@ 2019-07-30 10:28 Jani Nikula
  2019-07-30 10:28 ` [PATCH 2/2] drm/i915: add SPDX headers to subdir Makefiles Jani Nikula
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Jani Nikula @ 2019-07-30 10:28 UTC (permalink / raw)
  To: intel-gfx; +Cc: jani.nikula

Apparently the empty Makefile has caused some confusion. Add the
subdir-cc-flags-y as in 7fcc7ca549d4 ("drm/i915: add header search path
to subdir Makefiles") which should be useful.

The generated headers still aren't self-contained, so can't add that.

References: http://marc.info/?i=80bf2204-558a-6d3f-c493-bf17b891fc8a@infradead.org
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>

---

This should fix the kernel header generation:
https://github.com/rib/gputop/pull/203
---
 drivers/gpu/drm/i915/oa/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/gpu/drm/i915/oa/Makefile b/drivers/gpu/drm/i915/oa/Makefile
index e69de29bb2d1..256bfde4a287 100644
--- a/drivers/gpu/drm/i915/oa/Makefile
+++ b/drivers/gpu/drm/i915/oa/Makefile
@@ -0,0 +1,4 @@
+# SPDX-License-Identifier: MIT
+
+# For building individual subdir files on the command line
+subdir-ccflags-y += -I$(srctree)/$(src)/..
-- 
2.20.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-07-30 21:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-30 10:28 [PATCH 1/2] drm/i915/oa: add content to Makefile Jani Nikula
2019-07-30 10:28 ` [PATCH 2/2] drm/i915: add SPDX headers to subdir Makefiles Jani Nikula
2019-07-30 11:36 ` [PATCH 1/2] drm/i915/oa: add content to Makefile Jani Nikula
2019-07-30 12:16 ` ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] " Patchwork
2019-07-30 12:36 ` ✓ Fi.CI.BAT: success " Patchwork
2019-07-30 21:54 ` ✓ Fi.CI.IGT: " Patchwork

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.