diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-01-25 13:39:31 +0900 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-01-25 15:28:50 -0700 |
commit | b360ce3b2be9fb93d7ba7ecdcb4eb16d7e469998 (patch) | |
tree | c3f4c00a53fa0a04623ffff384448bb8eb91cd27 /drivers/infiniband/hw/hns | |
parent | ed4cdf4a213197d8f01bf25427b3fa21eb24fd66 (diff) | |
download | linux-stable-b360ce3b2be9fb93d7ba7ecdcb4eb16d7e469998.tar.gz linux-stable-b360ce3b2be9fb93d7ba7ecdcb4eb16d7e469998.tar.bz2 linux-stable-b360ce3b2be9fb93d7ba7ecdcb4eb16d7e469998.zip |
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>
Diffstat (limited to 'drivers/infiniband/hw/hns')
-rw-r--r-- | drivers/infiniband/hw/hns/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/hns/Makefile b/drivers/infiniband/hw/hns/Makefile index 004c88b32e13..e2a7f1488f76 100644 --- a/drivers/infiniband/hw/hns/Makefile +++ b/drivers/infiniband/hw/hns/Makefile @@ -2,7 +2,7 @@ # Makefile for the Hisilicon RoCE drivers. # -ccflags-y := -Idrivers/net/ethernet/hisilicon/hns3 +ccflags-y := -I $(srctree)/drivers/net/ethernet/hisilicon/hns3 obj-$(CONFIG_INFINIBAND_HNS) += hns-roce.o hns-roce-objs := hns_roce_main.o hns_roce_cmd.o hns_roce_pd.o \ |