]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm: prefix header search paths with $(srctree)/
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 29 Mar 2019 11:32:41 +0000 (20:32 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 31 May 2019 13:43:22 +0000 (06:43 -0700)
commit59c8fa1f382d63fcf088e2978dcf6f2f74d71764
treee989f91017f3fb8e5d53557a01b6aa013acd0689
parent4659bb96d64b97b210c0274096ee848389e4773d
drm: prefix header search paths with $(srctree)/

[ Upstream commit 43068cb7ba1f6ceb1523e947c84002b2a61fd6d4 ]

Currently, the Kbuild core manipulates header search paths in a crazy
way [1].

To fix this mess, I want all Makefiles to add explicit $(srctree)/ to
the search paths in the srctree. Some Makefiles are already written in
that way, but not all. The goal of this work is to make the notation
consistent, and finally get rid of the gross hacks.

Having whitespaces after -I does not matter since commit 48f6e3cf5bc6
("kbuild: do not drop -I without parameter").

[1]: https://patchwork.kernel.org/patch/9632347/

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: James Qian Wang (Arm Technology China) <james.qian.wang@arm.com>
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1553859161-2628-1-git-send-email-yamada.masahiro@socionext.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/Makefile
drivers/gpu/drm/arm/display/komeda/Makefile
drivers/gpu/drm/i915/gvt/Makefile
drivers/gpu/drm/msm/Makefile
drivers/gpu/drm/nouveau/Kbuild