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>
This commit is contained in:
parent
6c9e3dcd36
commit
e60b244281
|
@ -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
|
obj-$(CONFIG_CRYPTO_DEV_QAT_DH895xCC) += qat_dh895xcc.o
|
||||||
qat_dh895xcc-objs := adf_drv.o \
|
qat_dh895xcc-objs := adf_drv.o \
|
||||||
adf_isr.o \
|
adf_isr.o \
|
||||||
|
|
Loading…
Reference in New Issue