aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/Makefile
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-07-29 21:41:37 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-07-29 21:41:37 +0900
commit939a24a6df24649cea9fd0ff54fe71ee0dc1d61e (patch)
tree75c71fec79583491ed0ae1038f906ce90d11192c /arch/sh/Makefile
parentsh: I2C fix for AP325RXA and Migo-R (diff)
downloadlinux-dev-939a24a6df24649cea9fd0ff54fe71ee0dc1d61e.tar.xz
linux-dev-939a24a6df24649cea9fd0ff54fe71ee0dc1d61e.zip
sh: Move out the solution engine headers to arch/sh/include/mach-se/
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Makefile')
-rw-r--r--arch/sh/Makefile15
1 files changed, 3 insertions, 12 deletions
diff --git a/arch/sh/Makefile b/arch/sh/Makefile
index 47bbfd8ae664..fb3b65ed2910 100644
--- a/arch/sh/Makefile
+++ b/arch/sh/Makefile
@@ -101,15 +101,8 @@ LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
core-y += arch/sh/kernel/ arch/sh/mm/
core-$(CONFIG_SH_FPU_EMU) += arch/sh/math-emu/
-# Boards
-machdir-$(CONFIG_SH_SOLUTION_ENGINE) += mach-se/770x
-machdir-$(CONFIG_SH_7206_SOLUTION_ENGINE) += mach-se/7206
-machdir-$(CONFIG_SH_7619_SOLUTION_ENGINE) += mach-se/7619
-machdir-$(CONFIG_SH_7722_SOLUTION_ENGINE) += mach-se/7722
-machdir-$(CONFIG_SH_7751_SOLUTION_ENGINE) += mach-se/7751
-machdir-$(CONFIG_SH_7780_SOLUTION_ENGINE) += mach-se/7780
-machdir-$(CONFIG_SH_7343_SOLUTION_ENGINE) += mach-se/7343
-machdir-$(CONFIG_SH_7721_SOLUTION_ENGINE) += mach-se/7721
+# Boards and Mach groups
+machdir-$(CONFIG_SOLUTION_ENGINE) += mach-se
machdir-$(CONFIG_SH_HP6XX) += mach-hp6xx
machdir-$(CONFIG_SH_DREAMCAST) += mach-dreamcast
machdir-$(CONFIG_SH_SH03) += mach-sh03
@@ -133,8 +126,6 @@ machdir-$(CONFIG_SH_LBOX_RE2) += mach-lboxre2
machdir-$(CONFIG_SH_MAGIC_PANEL_R2) += mach-magicpanelr2
machdir-$(CONFIG_SH_CAYMAN) += mach-cayman
-incdir-y := $(notdir $(machdir-y))
-
ifneq ($(machdir-y),)
core-y += $(addprefix arch/sh/boards/, \
$(filter-out ., $(patsubst %,%/,$(machdir-y))))
@@ -159,7 +150,7 @@ drivers-$(CONFIG_OPROFILE) += arch/sh/oprofile/
boot := arch/sh/boot
cflags-y += -Iarch/sh/include/$(cpuincdir-y)
-cflags-y += $(foreach d, $(incdir-y), -Iarch/sh/include/mach-$(d))
+cflags-y += $(foreach d, $(machdir-y), -Iarch/sh/include/$(d))
KBUILD_CFLAGS += -pipe $(cflags-y)
KBUILD_CPPFLAGS += $(cflags-y)