]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/i915: add header search path to subdir Makefiles
authorJani Nikula <jani.nikula@intel.com>
Wed, 26 Jun 2019 14:36:18 +0000 (17:36 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 27 Jun 2019 07:25:48 +0000 (10:25 +0300)
commit7fcc7ca549d4889025d38c983681bfada3ff1f3a
tree94df24e1b94fba37d75e9d359c4d3190520a6deb
parent9ef424e58e21b301bc46bbe965deacfac9f72de9
drm/i915: add header search path to subdir Makefiles

With the subdirectories we lost the ability to build individual files on
the command line, for example:

$ make drivers/gpu/drm/i915/display/intel_display.o

This was due to the top level directory missing from header search
path. Add the header search paths to subdir Makefiles.

Note that none of the other options in the top level i915 Makefile are
taken into account when building individual files. Usually this is not a
concern.

Reported-by: Imre Deak <imre.deak@intel.com>
Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
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-2-jani.nikula@intel.com
drivers/gpu/drm/i915/display/Makefile
drivers/gpu/drm/i915/gem/Makefile
drivers/gpu/drm/i915/gt/Makefile