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

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>

+3 -5
+1 -2
arch/arm/mach-mvebu/Makefile
··· 1 - ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include \ 2 - -I$(srctree)/arch/arm/plat-orion/include 1 + ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/arch/arm/plat-orion/include 3 2 4 3 AFLAGS_coherency_ll.o := -Wa,-march=armv7-a 5 4 CFLAGS_pmsu.o := -march=armv7-a
+1 -2
arch/arm/mach-realview/Makefile
··· 1 1 # 2 2 # Makefile for the linux kernel. 3 3 # 4 - ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include \ 5 - -I$(srctree)/arch/arm/plat-versatile/include 4 + ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/arch/arm/plat-versatile/include 6 5 7 6 obj-y := core.o 8 7 obj-$(CONFIG_REALVIEW_DT) += realview-dt.o
+1 -1
arch/arm/mach-s5pv210/Makefile
··· 5 5 # 6 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 10 # Core 11 11