summaryrefslogtreecommitdiff
path: root/drivers/crypto/bcm/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-01-25 09:07:48 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2019-02-01 09:42:05 +0300
commit87fec0102dada9084b86a782287551b237efb914 (patch)
treebd7812139758b53602cadcaceca9cd0a2cd6c38f /drivers/crypto/bcm/Makefile
parent320ca3e58e8dd4587c946e2ee8066fc722c77bf7 (diff)
downloadlinux-87fec0102dada9084b86a782287551b237efb914.tar.xz
crypto: bcm - remove -I. header search path and unused macro define
The header search path -I. in kernel Makefiles is very suspicious; it allows the compiler to search for headers in the top of $(srctree), where obviously no header file exists. 'git grep BCMDRIVER' has no hit. So, this macro is not referenced. I was able to build this driver without the extra compiler options. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/bcm/Makefile')
-rw-r--r--drivers/crypto/bcm/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/crypto/bcm/Makefile b/drivers/crypto/bcm/Makefile
index 13cb80eb2665..7469e19afe85 100644
--- a/drivers/crypto/bcm/Makefile
+++ b/drivers/crypto/bcm/Makefile
@@ -11,5 +11,3 @@
obj-$(CONFIG_CRYPTO_DEV_BCM_SPU) := bcm_crypto_spu.o
bcm_crypto_spu-objs := util.o spu.o spu2.o cipher.o
-
-ccflags-y += -I. -DBCMDRIVER