diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-07-29 08:41:37 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-07-29 08:41:37 -0400 |
commit | 939a24a6df24649cea9fd0ff54fe71ee0dc1d61e (patch) | |
tree | 75c71fec79583491ed0ae1038f906ce90d11192c /arch/sh/Makefile | |
parent | e565b518ec3a62aebf54da31c65bb6036bb5a276 (diff) |
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/Makefile | 15 |
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) | |||
101 | core-y += arch/sh/kernel/ arch/sh/mm/ | 101 | core-y += arch/sh/kernel/ arch/sh/mm/ |
102 | core-$(CONFIG_SH_FPU_EMU) += arch/sh/math-emu/ | 102 | core-$(CONFIG_SH_FPU_EMU) += arch/sh/math-emu/ |
103 | 103 | ||
104 | # Boards | 104 | # Boards and Mach groups |
105 | machdir-$(CONFIG_SH_SOLUTION_ENGINE) += mach-se/770x | 105 | machdir-$(CONFIG_SOLUTION_ENGINE) += mach-se |
106 | machdir-$(CONFIG_SH_7206_SOLUTION_ENGINE) += mach-se/7206 | ||
107 | machdir-$(CONFIG_SH_7619_SOLUTION_ENGINE) += mach-se/7619 | ||
108 | machdir-$(CONFIG_SH_7722_SOLUTION_ENGINE) += mach-se/7722 | ||
109 | machdir-$(CONFIG_SH_7751_SOLUTION_ENGINE) += mach-se/7751 | ||
110 | machdir-$(CONFIG_SH_7780_SOLUTION_ENGINE) += mach-se/7780 | ||
111 | machdir-$(CONFIG_SH_7343_SOLUTION_ENGINE) += mach-se/7343 | ||
112 | machdir-$(CONFIG_SH_7721_SOLUTION_ENGINE) += mach-se/7721 | ||
113 | machdir-$(CONFIG_SH_HP6XX) += mach-hp6xx | 106 | machdir-$(CONFIG_SH_HP6XX) += mach-hp6xx |
114 | machdir-$(CONFIG_SH_DREAMCAST) += mach-dreamcast | 107 | machdir-$(CONFIG_SH_DREAMCAST) += mach-dreamcast |
115 | machdir-$(CONFIG_SH_SH03) += mach-sh03 | 108 | machdir-$(CONFIG_SH_SH03) += mach-sh03 |
@@ -133,8 +126,6 @@ machdir-$(CONFIG_SH_LBOX_RE2) += mach-lboxre2 | |||
133 | machdir-$(CONFIG_SH_MAGIC_PANEL_R2) += mach-magicpanelr2 | 126 | machdir-$(CONFIG_SH_MAGIC_PANEL_R2) += mach-magicpanelr2 |
134 | machdir-$(CONFIG_SH_CAYMAN) += mach-cayman | 127 | machdir-$(CONFIG_SH_CAYMAN) += mach-cayman |
135 | 128 | ||
136 | incdir-y := $(notdir $(machdir-y)) | ||
137 | |||
138 | ifneq ($(machdir-y),) | 129 | ifneq ($(machdir-y),) |
139 | core-y += $(addprefix arch/sh/boards/, \ | 130 | core-y += $(addprefix arch/sh/boards/, \ |
140 | $(filter-out ., $(patsubst %,%/,$(machdir-y)))) | 131 | $(filter-out ., $(patsubst %,%/,$(machdir-y)))) |
@@ -159,7 +150,7 @@ drivers-$(CONFIG_OPROFILE) += arch/sh/oprofile/ | |||
159 | boot := arch/sh/boot | 150 | boot := arch/sh/boot |
160 | 151 | ||
161 | cflags-y += -Iarch/sh/include/$(cpuincdir-y) | 152 | cflags-y += -Iarch/sh/include/$(cpuincdir-y) |
162 | cflags-y += $(foreach d, $(incdir-y), -Iarch/sh/include/mach-$(d)) | 153 | cflags-y += $(foreach d, $(machdir-y), -Iarch/sh/include/$(d)) |
163 | 154 | ||
164 | KBUILD_CFLAGS += -pipe $(cflags-y) | 155 | KBUILD_CFLAGS += -pipe $(cflags-y) |
165 | KBUILD_CPPFLAGS += $(cflags-y) | 156 | KBUILD_CPPFLAGS += $(cflags-y) |