diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-11-08 04:52:35 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-01-27 23:18:39 -0500 |
commit | c20c20047b1aa4ba6fc2bb4e9ab91402026c3e71 (patch) | |
tree | 98babc874ce361ddb88cfc2f98319079a9b60e78 /arch/sh/Makefile | |
parent | dd730b8ff8adfdf8d39cd060acc7223f0d374d32 (diff) |
sh: Plug SH-5 in to arch/sh/Makefile.
Adds the ISA tuning and a lib64 rule.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Makefile')
-rw-r--r-- | arch/sh/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/sh/Makefile b/arch/sh/Makefile index e189fae8b60c..897f1c590fac 100644 --- a/arch/sh/Makefile +++ b/arch/sh/Makefile | |||
@@ -21,7 +21,7 @@ isa-$(CONFIG_CPU_SH3) := sh3 | |||
21 | isa-$(CONFIG_CPU_SH4) := sh4 | 21 | isa-$(CONFIG_CPU_SH4) := sh4 |
22 | isa-$(CONFIG_CPU_SH4A) := sh4a | 22 | isa-$(CONFIG_CPU_SH4A) := sh4a |
23 | isa-$(CONFIG_CPU_SH4AL_DSP) := sh4al | 23 | isa-$(CONFIG_CPU_SH4AL_DSP) := sh4al |
24 | 24 | isa-$(CONFIG_CPU_SH5) := shmedia | |
25 | isa-$(CONFIG_SH_DSP) := $(isa-y)-dsp | 25 | isa-$(CONFIG_SH_DSP) := $(isa-y)-dsp |
26 | 26 | ||
27 | ifndef CONFIG_MMU | 27 | ifndef CONFIG_MMU |
@@ -44,6 +44,7 @@ cflags-$(CONFIG_CPU_SH4) := $(call cc-option,-m4,) \ | |||
44 | $(call cc-option,-mno-implicit-fp,-m4-nofpu) | 44 | $(call cc-option,-mno-implicit-fp,-m4-nofpu) |
45 | cflags-$(CONFIG_CPU_SH4A) += $(call cc-option,-m4a,) \ | 45 | cflags-$(CONFIG_CPU_SH4A) += $(call cc-option,-m4a,) \ |
46 | $(call cc-option,-m4a-nofpu,) | 46 | $(call cc-option,-m4a-nofpu,) |
47 | cflags-$(CONFIG_CPU_SH5) := $(call cc-option,-m5-32media-nofpu,) | ||
47 | 48 | ||
48 | cflags-$(CONFIG_CPU_BIG_ENDIAN) += -mb | 49 | cflags-$(CONFIG_CPU_BIG_ENDIAN) += -mb |
49 | cflags-$(CONFIG_CPU_LITTLE_ENDIAN) += -ml | 50 | cflags-$(CONFIG_CPU_LITTLE_ENDIAN) += -ml |
@@ -143,8 +144,11 @@ cpuincdir-$(CONFIG_CPU_SH2) := cpu-sh2 | |||
143 | cpuincdir-$(CONFIG_CPU_SH2A) := cpu-sh2a | 144 | cpuincdir-$(CONFIG_CPU_SH2A) := cpu-sh2a |
144 | cpuincdir-$(CONFIG_CPU_SH3) := cpu-sh3 | 145 | cpuincdir-$(CONFIG_CPU_SH3) := cpu-sh3 |
145 | cpuincdir-$(CONFIG_CPU_SH4) := cpu-sh4 | 146 | cpuincdir-$(CONFIG_CPU_SH4) := cpu-sh4 |
147 | cpuincdir-$(CONFIG_CPU_SH5) := cpu-sh5 | ||
146 | 148 | ||
147 | libs-y := arch/sh/lib/ $(libs-y) $(LIBGCC) | 149 | libs-$(CONFIG_SUPERH32) := arch/sh/lib/ $(libs-y) |
150 | libs-$(CONFIG_SUPERH64) := arch/sh/lib64/ $(libs-y) | ||
151 | libs-y += $(LIBGCC) | ||
148 | 152 | ||
149 | drivers-y += arch/sh/drivers/ | 153 | drivers-y += arch/sh/drivers/ |
150 | drivers-$(CONFIG_OPROFILE) += arch/sh/oprofile/ | 154 | drivers-$(CONFIG_OPROFILE) += arch/sh/oprofile/ |