ia64: prefix header search path with $(srctree)/
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 25 Jan 2019 07:18:23 +0000 (16:18 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 13 Mar 2019 17:39:09 +0000 (02:39 +0900)
commit393492b567fd849a92795d28316292fbcaf48af1
tree7d53fb43c035f87d6bca58649991cbae1f2b5d12
parent13d3bc7152d0f00b243dd4863f8feac81f7f84c7
ia64: prefix header search path 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").

I removed some header search paths because I was able to build ia64
without them.

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

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/ia64/sn/kernel/Makefile
arch/ia64/sn/kernel/sn2/Makefile
arch/ia64/sn/pci/Makefile
arch/ia64/sn/pci/pcibr/Makefile