From: Paul Mundt Date: Fri, 31 Oct 2008 06:58:53 +0000 (+0900) Subject: sh: SHmedia ISA tuning fixups. X-Git-Tag: v3.12-rc1~17406^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ddb72b02414228844ad46f7cbd42eccea01fb485;p=kernel%2Fkernel-generic.git 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 --- diff --git a/arch/sh/Makefile b/arch/sh/Makefile index 3a74ed6..c43eb0d 100644 --- a/arch/sh/Makefile +++ b/arch/sh/Makefile @@ -18,7 +18,11 @@ isa-$(CONFIG_CPU_SH4) := sh4 isa-$(CONFIG_CPU_SH4A) := sh4a isa-$(CONFIG_CPU_SH4AL_DSP) := sh4al isa-$(CONFIG_CPU_SH5) := shmedia + +ifeq ($(CONFIG_SUPERH32),y) isa-$(CONFIG_SH_DSP) := $(isa-y)-dsp +isa-y := $(isa-y)-up +endif cflags-$(CONFIG_CPU_SH2) := $(call cc-option,-m2,) cflags-$(CONFIG_CPU_SH2A) += $(call cc-option,-m2a,) \