Skip to content

Commit

Permalink
crypto: bcm - remove -I. header search path and unused macro define
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
masahir0y authored and herbertx committed Feb 1, 2019
1 parent 320ca3e commit 87fec01
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/crypto/bcm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 87fec01

Please sign in to comment.