1
0
Fork 0

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>
hifive-unleashed-5.1
Masahiro Yamada 2019-01-11 12:22:33 +09:00 committed by Michael Ellerman
parent b00899b895
commit fbe3ab014f
1 changed files with 1 additions and 1 deletions

View 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