diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2014-06-23 21:37:53 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-06-23 21:37:53 +0800 |
commit | e60b244281cfe03ddd7c5c15c4e6b6d6316bb530 (patch) | |
tree | 3b26338e958ceda949293fba6b5baa531df7ea0e /drivers/crypto | |
parent | 6c9e3dcd36691c8690861a5f6902226ed2d8a75e (diff) | |
download | op-kernel-dev-e60b244281cfe03ddd7c5c15c4e6b6d6316bb530.zip op-kernel-dev-e60b244281cfe03ddd7c5c15c4e6b6d6316bb530.tar.gz |
crypto: qat - Fix build problem with O=
qat adds -I to the ccflags. Unfortunately it uses CURDIR which
breaks when make is invoked with O=. This patch replaces CURDIR
with $(src) which should work with/without O=.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/qat/qat_dh895xcc/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/qat/qat_dh895xcc/Makefile b/drivers/crypto/qat/qat_dh895xcc/Makefile index 8e4924d..25171c5 100644 --- a/drivers/crypto/qat/qat_dh895xcc/Makefile +++ b/drivers/crypto/qat/qat_dh895xcc/Makefile @@ -1,4 +1,4 @@ -ccflags-y := -I$(CURDIR)/drivers/crypto/qat/qat_common +ccflags-y := -I$(src)/../qat_common obj-$(CONFIG_CRYPTO_DEV_QAT_DH895xCC) += qat_dh895xcc.o qat_dh895xcc-objs := adf_drv.o \ adf_isr.o \ |