net: lmc: remove -I. header search path
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 25 Jan 2019 14:22:29 +0000 (23:22 +0900)
committerDavid S. Miller <davem@davemloft.net>
Sun, 27 Jan 2019 02:27:04 +0000 (18:27 -0800)
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.

I was able to build without this header search path.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/lmc/Makefile

index 609710d64eb5c196a506a33ae2d832aa1cb5d7bb..247f60c401ef1938caf026bc1c926deb446bf68c 100644 (file)
@@ -14,4 +14,4 @@ lmc-objs := lmc_debug.o lmc_media.o lmc_main.o lmc_proto.o
 # -DDEBUG \
 # -DLMC_PACKET_LOG
 
-ccflags-y := -I. $(DBGDEF)
+ccflags-y := $(DBGDEF)