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 0fbc3506b5fc75be8f1bfccfb1c5c9686e87233b..3bd8f0349a8ab549808f67909c43ca579dd6bcbc 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!