diff options
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/Makefile | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/arch/sh/Makefile b/arch/sh/Makefile index 240ad6be0daa..3a74ed62ec89 100644 --- a/arch/sh/Makefile +++ b/arch/sh/Makefile | |||
@@ -2,7 +2,7 @@ | |||
2 | # arch/sh/Makefile | 2 | # arch/sh/Makefile |
3 | # | 3 | # |
4 | # Copyright (C) 1999 Kaz Kojima | 4 | # Copyright (C) 1999 Kaz Kojima |
5 | # Copyright (C) 2002, 2003, 2004 Paul Mundt | 5 | # Copyright (C) 2002 - 2008 Paul Mundt |
6 | # Copyright (C) 2002 M. R. Brown | 6 | # Copyright (C) 2002 M. R. Brown |
7 | # | 7 | # |
8 | # This file is subject to the terms and conditions of the GNU General Public | 8 | # This file is subject to the terms and conditions of the GNU General Public |
@@ -20,14 +20,6 @@ isa-$(CONFIG_CPU_SH4AL_DSP) := sh4al | |||
20 | isa-$(CONFIG_CPU_SH5) := shmedia | 20 | isa-$(CONFIG_CPU_SH5) := shmedia |
21 | isa-$(CONFIG_SH_DSP) := $(isa-y)-dsp | 21 | isa-$(CONFIG_SH_DSP) := $(isa-y)-dsp |
22 | 22 | ||
23 | ifndef CONFIG_SH_DSP | ||
24 | ifndef CONFIG_SH_FPU | ||
25 | isa-y := $(isa-y)-nofpu | ||
26 | endif | ||
27 | endif | ||
28 | |||
29 | isa-y := $(isa-y)-up | ||
30 | |||
31 | cflags-$(CONFIG_CPU_SH2) := $(call cc-option,-m2,) | 23 | cflags-$(CONFIG_CPU_SH2) := $(call cc-option,-m2,) |
32 | cflags-$(CONFIG_CPU_SH2A) += $(call cc-option,-m2a,) \ | 24 | cflags-$(CONFIG_CPU_SH2A) += $(call cc-option,-m2a,) \ |
33 | $(call cc-option,-m2a-nofpu,) | 25 | $(call cc-option,-m2a-nofpu,) |