summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-01-11 12:22:33 +0900
committerMichael Ellerman <mpe@ellerman.id.au>2019-01-14 20:39:27 +1100
commitfbe3ab014f37f67766e6cf5b0ce79d5e4197c536 (patch)
tree5104abc9d63a2bcd48796773f807bcf5b0574f03
parentb00899b8957800e2ac1af2cf6254abf3ec9fad85 (diff)
downloadlwn-fbe3ab014f37f67766e6cf5b0ce79d5e4197c536.tar.gz
lwn-fbe3ab014f37f67766e6cf5b0ce79d5e4197c536.zip
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>
-rw-r--r--arch/powerpc/math-emu/Makefile2
1 files changed, 1 insertions, 1 deletions
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