From: Masahiro Yamada Date: Fri, 11 Jan 2019 03:22:33 +0000 (+0900) Subject: powerpc: math-emu: remove unneeded header search paths X-Git-Tag: v5.1-rc1~128^2~160 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=fbe3ab014f37f67766e6cf5b0ce79d5e4197c536;p=linux.git powerpc: math-emu: remove unneeded header search paths 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. -Iinclude/math-emu seems unnecessary because all files include headers in the form of #include . I was able to build without these header search paths. Signed-off-by: Masahiro Yamada Signed-off-by: Michael Ellerman --- diff --git a/arch/powerpc/math-emu/Makefile b/arch/powerpc/math-emu/Makefile index 494df26c5988..a8794032f15f 100644 --- a/arch/powerpc/math-emu/Makefile +++ b/arch/powerpc/math-emu/Makefile @@ -17,4 +17,4 @@ obj-$(CONFIG_SPE) += math_efp.o CFLAGS_fabs.o = -fno-builtin-fabs CFLAGS_math.o = -fno-builtin-fabs -ccflags-y = -I. -Iinclude/math-emu -w +ccflags-y = -w