crypto: qat - Fix build problem with O=
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 23 Jun 2014 13:37:53 +0000 (21:37 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 23 Jun 2014 13:37:53 +0000 (21:37 +0800)
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>
drivers/crypto/qat/qat_dh895xcc/Makefile

index 8e4924d..25171c5 100644 (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 \