From: Herbert Xu Date: Mon, 23 Jun 2014 13:37:53 +0000 (+0800) Subject: crypto: qat - Fix build problem with O= X-Git-Tag: v3.17-rc1~151^2~65 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=e60b244281cfe03ddd7c5c15c4e6b6d6316bb530;p=~emulex%2Finfiniband.git 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 --- diff --git a/drivers/crypto/qat/qat_dh895xcc/Makefile b/drivers/crypto/qat/qat_dh895xcc/Makefile index 8e4924d6a54..25171c55704 100644 --- a/drivers/crypto/qat/qat_dh895xcc/Makefile +++ b/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 \