OSDN Git Service

drm/i915: prefix header search path with $(srctree)/
authorJani Nikula <jani.nikula@intel.com>
Wed, 26 Jun 2019 14:36:17 +0000 (17:36 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 27 Jun 2019 07:25:09 +0000 (10:25 +0300)
Per commit 43068cb7ba1f ("drm: prefix header search paths with
$(srctree)/") this is what we should be doing. Follow suit.

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190626143618.21800-1-jani.nikula@intel.com
drivers/gpu/drm/i915/Makefile

index 0fbc350..3bd8f03 100644 (file)
@@ -35,7 +35,7 @@ subdir-ccflags-y += \
 # Extra header tests
 include $(src)/Makefile.header-test
 
-subdir-ccflags-y += -I$(src)
+subdir-ccflags-y += -I$(srctree)/$(src)
 
 # Please keep these build lists sorted!