From: Paul M. <le...@li...> - 2007-08-20 13:23:34
|
On Mon, Aug 20, 2007 at 03:01:55PM +0200, EXTERNAL Brunner Markus (Praktikant; ST-FIR/Eng) wrote: > > How about this? > > > > diff --git a/arch/sh/Makefile b/arch/sh/Makefile > > index e5c84d0..e678e0c 100644 > > --- a/arch/sh/Makefile > > +++ b/arch/sh/Makefile > > @@ -34,6 +34,8 @@ isa-y := $(isa-y)-nofpu > > endif > > endif > > > > +isa-y := $(isa-y)-up > > + > > cflags-$(CONFIG_CPU_SH2) := $(call cc-option,-m2,) > > cflags-$(CONFIG_CPU_SH2A) += $(call cc-option,-m2a,) \ > > $(call cc-option,-m2a-nofpu,) > > > I only have limited Makefile knowledge and I don't understand > How this could solve the problem. > If the patch was meant to be applied in addition to the removed > cflags-$(CONFIG_SH_DSP) += -Wa,-dsp > it works. > If it was meant to be apllied against current git it doesn't work. It was meant to be applied without the -Wa,-dsp. The explicit -Wa,-isa= tuning implies -dsp opcode support depending on the tuning target. Can you try to do the build with V=1 for verbose output and paste the full invocation to the build as well as the full error itself, as well as the toolchain versions? I was able to get your defconfig building with all of the toolchains I had on hand, so this makes me suspect your binutils version or something is still not being parsed properly. |