]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
treewide: prefix header search paths with $(srctree)/
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 13 May 2019 06:22:16 +0000 (15:22 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 18 May 2019 02:49:57 +0000 (11:49 +0900)
commit9cc342f6c4a06ea613ddef1bcaa25409260aec63
tree4ff056e8db10185fbaaa78375f43f67ac2899af1
parent14340de506c9aa08baa9540ee6250c9d978c16b7
treewide: prefix header search paths with $(srctree)/

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>
17 files changed:
arch/mips/pnx833x/Platform
arch/powerpc/Makefile
arch/sh/Makefile
arch/x86/kernel/Makefile
arch/x86/mm/Makefile
arch/xtensa/boot/lib/Makefile
drivers/hid/intel-ish-hid/Makefile
drivers/net/ethernet/chelsio/libcxgb/Makefile
drivers/target/iscsi/cxgbit/Makefile
drivers/usb/storage/Makefile
fs/ocfs2/dlm/Makefile
fs/ocfs2/dlmfs/Makefile
fs/xfs/Makefile
net/bpfilter/Makefile
scripts/dtc/Makefile
scripts/genksyms/Makefile
scripts/kconfig/Makefile