From: Masahiro Yamada Date: Fri, 25 Jan 2019 14:22:29 +0000 (+0900) Subject: net: lmc: remove -I. header search path X-Git-Tag: v5.15~6918^2~413 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=085c4c7dd2b6558fb079fad07d6e9064f5e0b4c2;p=platform%2Fkernel%2Flinux-starfive.git net: lmc: remove -I. header search path 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/wan/lmc/Makefile b/drivers/net/wan/lmc/Makefile index 609710d..247f60c 100644 --- a/drivers/net/wan/lmc/Makefile +++ b/drivers/net/wan/lmc/Makefile @@ -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)