summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/qat/qat_c62xvf/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-01-25 12:49:36 +0900
committerHerbert Xu <herbert@gondor.apana.org.au>2019-02-01 14:42:05 +0800
commit320ca3e58e8dd4587c946e2ee8066fc722c77bf7 (patch)
tree39a12d7a6725884c392e9cbe33dea516510b89ea /drivers/crypto/qat/qat_c62xvf/Makefile
parentf9352900e064a159942fbf92d3840d6c8eafea56 (diff)
downloadlinux-stable-320ca3e58e8dd4587c946e2ee8066fc722c77bf7.tar.gz
linux-stable-320ca3e58e8dd4587c946e2ee8066fc722c77bf7.tar.bz2
linux-stable-320ca3e58e8dd4587c946e2ee8066fc722c77bf7.zip
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 48f6e3cf5bc6 ("kbuild: do not drop -I without parameter"). [1]: https://patchwork.kernel.org/patch/9632347/ Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/qat/qat_c62xvf/Makefile')
-rw-r--r--drivers/crypto/qat/qat_c62xvf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/qat/qat_c62xvf/Makefile b/drivers/crypto/qat/qat_c62xvf/Makefile
index ecd708c213b2..1e5d51de778f 100644
--- a/drivers/crypto/qat/qat_c62xvf/Makefile
+++ b/drivers/crypto/qat/qat_c62xvf/Makefile
@@ -1,3 +1,3 @@
-ccflags-y := -I$(src)/../qat_common
+ccflags-y := -I $(srctree)/$(src)/../qat_common
obj-$(CONFIG_CRYPTO_DEV_QAT_C62XVF) += qat_c62xvf.o
qat_c62xvf-objs := adf_drv.o adf_c62xvf_hw_data.o