diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-10-31 02:58:53 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-10-31 02:58:53 -0400 |
commit | ddb72b02414228844ad46f7cbd42eccea01fb485 (patch) | |
tree | dc0f2eff63a6ac161b3b401d54b1ac375692cdea /arch | |
parent | 3eeebf17f31c583f83e081b17b3076477cb96886 (diff) |
sh: SHmedia ISA tuning fixups.
SH-5 doesn't support any elaborate ISA inheritance schemes (-dsp, -up,
etc.), so only bother with that if we are building an sh32 kernel.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sh/Makefile b/arch/sh/Makefile index 3a74ed62ec89..c43eb0d7fa3b 100644 --- a/arch/sh/Makefile +++ b/arch/sh/Makefile | |||
@@ -18,7 +18,11 @@ isa-$(CONFIG_CPU_SH4) := sh4 | |||
18 | isa-$(CONFIG_CPU_SH4A) := sh4a | 18 | isa-$(CONFIG_CPU_SH4A) := sh4a |
19 | isa-$(CONFIG_CPU_SH4AL_DSP) := sh4al | 19 | isa-$(CONFIG_CPU_SH4AL_DSP) := sh4al |
20 | isa-$(CONFIG_CPU_SH5) := shmedia | 20 | isa-$(CONFIG_CPU_SH5) := shmedia |
21 | |||
22 | ifeq ($(CONFIG_SUPERH32),y) | ||
21 | isa-$(CONFIG_SH_DSP) := $(isa-y)-dsp | 23 | isa-$(CONFIG_SH_DSP) := $(isa-y)-dsp |
24 | isa-y := $(isa-y)-up | ||
25 | endif | ||
22 | 26 | ||
23 | cflags-$(CONFIG_CPU_SH2) := $(call cc-option,-m2,) | 27 | cflags-$(CONFIG_CPU_SH2) := $(call cc-option,-m2,) |
24 | cflags-$(CONFIG_CPU_SH2A) += $(call cc-option,-m2a,) \ | 28 | cflags-$(CONFIG_CPU_SH2A) += $(call cc-option,-m2a,) \ |