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:
Herbert Xu 2014-06-23 21:37:53 +08:00
parent 6c9e3dcd36
commit e60b244281
1 changed files with 1 additions and 1 deletions

View File

@ -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 \