Commit 320ca3e5 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Herbert Xu
Browse files

crypto: 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 48f6e3cf
("kbuild: do not drop -I without parameter").

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



Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent f9352900
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
ccflags-y := -Idrivers/net/ethernet/chelsio/cxgb4
ccflags-y := -I $(srctree)/drivers/net/ethernet/chelsio/cxgb4


obj-$(CONFIG_CRYPTO_DEV_CHELSIO) += chcr.o
obj-$(CONFIG_CRYPTO_DEV_CHELSIO) += chcr.o
chcr-objs :=  chcr_core.o chcr_algo.o
chcr-objs :=  chcr_core.o chcr_algo.o
+2 −1
Original line number Original line Diff line number Diff line
ccflags-y := -Idrivers/net/ethernet/chelsio/cxgb4 -Idrivers/crypto/chelsio/
ccflags-y := -I $(srctree)/drivers/net/ethernet/chelsio/cxgb4 \
	     -I $(srctree)/drivers/crypto/chelsio


obj-$(CONFIG_CRYPTO_DEV_CHELSIO_TLS) += chtls.o
obj-$(CONFIG_CRYPTO_DEV_CHELSIO_TLS) += chtls.o
chtls-objs := chtls_main.o chtls_cm.o chtls_io.o chtls_hw.o
chtls-objs := chtls_main.o chtls_cm.o chtls_io.o chtls_hw.o
+1 −1
Original line number Original line Diff line number Diff line
ccflags-y := -I$(src)/../qat_common
ccflags-y := -I $(srctree)/$(src)/../qat_common
obj-$(CONFIG_CRYPTO_DEV_QAT_C3XXX) += qat_c3xxx.o
obj-$(CONFIG_CRYPTO_DEV_QAT_C3XXX) += qat_c3xxx.o
qat_c3xxx-objs := adf_drv.o adf_c3xxx_hw_data.o
qat_c3xxx-objs := adf_drv.o adf_c3xxx_hw_data.o
+1 −1
Original line number Original line Diff line number Diff line
ccflags-y := -I$(src)/../qat_common
ccflags-y := -I $(srctree)/$(src)/../qat_common
obj-$(CONFIG_CRYPTO_DEV_QAT_C3XXXVF) += qat_c3xxxvf.o
obj-$(CONFIG_CRYPTO_DEV_QAT_C3XXXVF) += qat_c3xxxvf.o
qat_c3xxxvf-objs := adf_drv.o adf_c3xxxvf_hw_data.o
qat_c3xxxvf-objs := adf_drv.o adf_c3xxxvf_hw_data.o
+1 −1
Original line number Original line Diff line number Diff line
ccflags-y := -I$(src)/../qat_common
ccflags-y := -I $(srctree)/$(src)/../qat_common
obj-$(CONFIG_CRYPTO_DEV_QAT_C62X) += qat_c62x.o
obj-$(CONFIG_CRYPTO_DEV_QAT_C62X) += qat_c62x.o
qat_c62x-objs := adf_drv.o adf_c62x_hw_data.o
qat_c62x-objs := adf_drv.o adf_c62x_hw_data.o
Loading