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 8e4924d6a54b4d5845f5c95917274a6a7426246e..25171c557043300d440d74f385bd8a8ad8beec51 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 \