Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <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>

authored by

Masahiro Yamada and committed by
Michael Ellerman
fbe3ab01 b00899b8

+1 -1
+1 -1
arch/powerpc/math-emu/Makefile
··· 17 17 CFLAGS_fabs.o = -fno-builtin-fabs 18 18 CFLAGS_math.o = -fno-builtin-fabs 19 19 20 - ccflags-y = -I. -Iinclude/math-emu -w 20 + ccflags-y = -w