Browse Source

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>
Herbert Xu 11 years ago
parent
commit
e60b244281
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/crypto/qat/qat_dh895xcc/Makefile

+ 1 - 1
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 \