]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
powerpc: math-emu: remove unneeded header search paths
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 11 Jan 2019 03:22:33 +0000 (12:22 +0900)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 14 Jan 2019 09:39:27 +0000 (20:39 +1100)
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 <math-emu/...>.

I was able to build without these header search paths.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/math-emu/Makefile

index 494df26c59885b97fd648ccc2e26a921570d6b69..a8794032f15ff35419b2ca25bd94009d18667662 100644 (file)
@@ -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