diff options
Diffstat (limited to 'arch/sh/Makefile')
-rw-r--r-- | arch/sh/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/sh/Makefile b/arch/sh/Makefile index 13b688b13e1c..d118e48ea1ba 100644 --- a/arch/sh/Makefile +++ b/arch/sh/Makefile | |||
@@ -18,11 +18,13 @@ cflags-y := -mb | |||
18 | cflags-$(CONFIG_CPU_LITTLE_ENDIAN) := -ml | 18 | cflags-$(CONFIG_CPU_LITTLE_ENDIAN) := -ml |
19 | 19 | ||
20 | isa-y := any | 20 | isa-y := any |
21 | isa-$(CONFIG_SH_DSP) := sh | ||
21 | isa-$(CONFIG_CPU_SH2) := sh2 | 22 | isa-$(CONFIG_CPU_SH2) := sh2 |
23 | isa-$(CONFIG_CPU_SH2A) := sh2a | ||
22 | isa-$(CONFIG_CPU_SH3) := sh3 | 24 | isa-$(CONFIG_CPU_SH3) := sh3 |
23 | isa-$(CONFIG_CPU_SH4) := sh4 | 25 | isa-$(CONFIG_CPU_SH4) := sh4 |
24 | isa-$(CONFIG_CPU_SH4A) := sh4a | 26 | isa-$(CONFIG_CPU_SH4A) := sh4a |
25 | isa-$(CONFIG_CPU_SH2A) := sh2a | 27 | isa-$(CONFIG_CPU_SH4AL_DSP) := sh4al |
26 | 28 | ||
27 | isa-$(CONFIG_SH_DSP) := $(isa-y)-dsp | 29 | isa-$(CONFIG_SH_DSP) := $(isa-y)-dsp |
28 | 30 | ||
@@ -30,9 +32,11 @@ ifndef CONFIG_MMU | |||
30 | isa-y := $(isa-y)-nommu | 32 | isa-y := $(isa-y)-nommu |
31 | endif | 33 | endif |
32 | 34 | ||
35 | ifndef CONFIG_SH_DSP | ||
33 | ifndef CONFIG_SH_FPU | 36 | ifndef CONFIG_SH_FPU |
34 | isa-y := $(isa-y)-nofpu | 37 | isa-y := $(isa-y)-nofpu |
35 | endif | 38 | endif |
39 | endif | ||
36 | 40 | ||
37 | cflags-y += $(call as-option,-Wa$(comma)-isa=$(isa-y),) | 41 | cflags-y += $(call as-option,-Wa$(comma)-isa=$(isa-y),) |
38 | 42 | ||
@@ -188,4 +192,3 @@ CLEAN_FILES += include/asm-sh/machtypes.h | |||
188 | define archhelp | 192 | define archhelp |
189 | @echo ' zImage - Compressed kernel image (arch/sh/boot/zImage)' | 193 | @echo ' zImage - Compressed kernel image (arch/sh/boot/zImage)' |
190 | endef | 194 | endef |
191 | |||