From: Paul M. <le...@us...> - 2006-08-09 07:08:50
|
Update of /cvsroot/linuxsh/linux/arch/sh In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv17216/arch/sh Modified Files: Kconfig Makefile Log Message: Fixup ISA tuning for SH4AL-DSP. binutils makes this quite painful. Index: Kconfig =================================================================== RCS file: /cvsroot/linuxsh/linux/arch/sh/Kconfig,v retrieving revision 1.117 retrieving revision 1.118 diff -u -d -r1.117 -r1.118 --- Kconfig 9 Aug 2006 06:28:32 -0000 1.117 +++ Kconfig 9 Aug 2006 07:08:47 -0000 1.118 @@ -305,6 +305,7 @@ config SH_DSP bool "DSP support" + default y if SH4AL_DSP || !CPU_SH4 default n help Selecting this option will enable support for SH processors that Index: Makefile =================================================================== RCS file: /cvsroot/linuxsh/linux/arch/sh/Makefile,v retrieving revision 1.74 retrieving revision 1.75 diff -u -d -r1.74 -r1.75 --- Makefile 7 Aug 2006 11:17:45 -0000 1.74 +++ Makefile 9 Aug 2006 07:08:47 -0000 1.75 @@ -18,11 +18,13 @@ cflags-$(CONFIG_CPU_LITTLE_ENDIAN) := -ml isa-y := any +isa-$(CONFIG_SH_DSP) := sh isa-$(CONFIG_CPU_SH2) := sh2 +isa-$(CONFIG_CPU_SH2A) := sh2a isa-$(CONFIG_CPU_SH3) := sh3 isa-$(CONFIG_CPU_SH4) := sh4 isa-$(CONFIG_CPU_SH4A) := sh4a -isa-$(CONFIG_CPU_SH2A) := sh2a +isa-$(CONFIG_CPU_SH4AL_DSP) := sh4al isa-$(CONFIG_SH_DSP) := $(isa-y)-dsp @@ -30,9 +32,11 @@ isa-y := $(isa-y)-nommu endif +ifndef CONFIG_SH_DSP ifndef CONFIG_SH_FPU isa-y := $(isa-y)-nofpu endif +endif cflags-y += $(call as-option,-Wa$(comma)-isa=$(isa-y),) @@ -184,4 +188,3 @@ define archhelp @echo ' zImage - Compressed kernel image (arch/sh/boot/zImage)' endef - |