infiniband: prefix header search paths with $(srctree)/
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 25 Jan 2019 04:39:31 +0000 (13:39 +0900)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 25 Jan 2019 22:28:50 +0000 (15:28 -0700)
commitb360ce3b2be9fb93d7ba7ecdcb4eb16d7e469998
treec3f4c00a53fa0a04623ffff384448bb8eb91cd27
parented4cdf4a213197d8f01bf25427b3fa21eb24fd66
infiniband: 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>
Acked-by: Parvi Kaustubhi <pkaustub@cisco.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/bnxt_re/Makefile
drivers/infiniband/hw/cxgb3/Makefile
drivers/infiniband/hw/cxgb4/Makefile
drivers/infiniband/hw/hns/Makefile
drivers/infiniband/hw/i40iw/Makefile
drivers/infiniband/hw/ocrdma/Makefile
drivers/infiniband/hw/usnic/Makefile