diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-06-08 10:21:19 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2016-08-10 16:42:18 -0400 |
commit | 549fba3a615a5dc6219bb41b3ee3951173fcf1e6 (patch) | |
tree | 211cf14eaf305f1b7730d56220eb59f3268cd30d | |
parent | 7a376ac11fc2109dfd86442ff79982ecf16dcd6d (diff) |
ARM: don't include removed directories
Three platforms used to have header files in include/mach that
are now all gone, but the removed directories are still being
included, which leads to -Wmissing-include-dirs warnings.
This removes the extra -I flags.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r-- | arch/arm/mach-mvebu/Makefile | 3 | ||||
-rw-r--r-- | arch/arm/mach-realview/Makefile | 3 | ||||
-rw-r--r-- | arch/arm/mach-s5pv210/Makefile | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/arch/arm/mach-mvebu/Makefile b/arch/arm/mach-mvebu/Makefile index e53c6cfcab51..6c6497e80a7b 100644 --- a/arch/arm/mach-mvebu/Makefile +++ b/arch/arm/mach-mvebu/Makefile | |||
@@ -1,5 +1,4 @@ | |||
1 | ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include \ | 1 | ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/arch/arm/plat-orion/include |
2 | -I$(srctree)/arch/arm/plat-orion/include | ||
3 | 2 | ||
4 | AFLAGS_coherency_ll.o := -Wa,-march=armv7-a | 3 | AFLAGS_coherency_ll.o := -Wa,-march=armv7-a |
5 | CFLAGS_pmsu.o := -march=armv7-a | 4 | CFLAGS_pmsu.o := -march=armv7-a |
diff --git a/arch/arm/mach-realview/Makefile b/arch/arm/mach-realview/Makefile index dae8d86ef4cc..404882130956 100644 --- a/arch/arm/mach-realview/Makefile +++ b/arch/arm/mach-realview/Makefile | |||
@@ -1,8 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Makefile for the linux kernel. | 2 | # Makefile for the linux kernel. |
3 | # | 3 | # |
4 | ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include \ | 4 | ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/arch/arm/plat-versatile/include |
5 | -I$(srctree)/arch/arm/plat-versatile/include | ||
6 | 5 | ||
7 | obj-y := core.o | 6 | obj-y := core.o |
8 | obj-$(CONFIG_REALVIEW_DT) += realview-dt.o | 7 | obj-$(CONFIG_REALVIEW_DT) += realview-dt.o |
diff --git a/arch/arm/mach-s5pv210/Makefile b/arch/arm/mach-s5pv210/Makefile index 72b9e9671507..fa7fb716e388 100644 --- a/arch/arm/mach-s5pv210/Makefile +++ b/arch/arm/mach-s5pv210/Makefile | |||
@@ -5,7 +5,7 @@ | |||
5 | # | 5 | # |
6 | # Licensed under GPLv2 | 6 | # Licensed under GPLv2 |
7 | 7 | ||
8 | ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include | 8 | ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/arch/arm/plat-samsung/include |
9 | 9 | ||
10 | # Core | 10 | # Core |
11 | 11 | ||