[oe] binutils fails for AVR32

Koen Kooi k.kooi at student.utwente.nl
Fri Oct 3 15:26:41 UTC 2008


On 03-10-2008 13:46, Robert Wörle wrote:
>> | Configuring in ./intl
>> | configure: warning: build_alias=i686-linux: invalid host type
>> | configure: warning: host_alias=i686-linux: invalid host type
>> | configure: error: can only configure for one host and one target at a
>> time
>> | make[1]: *** [configure-intl] Error 1
>> | make[1]: Leaving directory
>> `/mnt/home/ulf/OpenEmbedded/build-avr32/tmp/work/avr32-angstrom-linux-uclibc/binutils-cross-2.17-r6/binutils-2.17/build.i686-linux.avr32-angstrom-linux-uclibc'
>>
>> | make: *** [all] Error 2
>> | FATAL: oe_runmake failed
>>
>> These problems seems to be caused by build_alias, host_alias and
>> target_alias beeing passed to "configure", but these are only
>> supported by binutils-2.18 and not 2.17 which is used by the AVR32.
>>
>> I am adding
>> ~ (cd ${B}&&  sed -i -e "s,'host_alias=i686-linux',," Makefile)
>> ~ (cd ${B}&&  sed -i -e "s,'build_alias=i686-linux',," Makefile)
>> ~ (cd ${B}&&  sed -i -e "s,'target_alias=avr32-angstrom-linux-uclibc',,"
>> Makefile)
>>
>> to the do_avr32_configure_bfd
>>
> Did you add this as prepend to this stage ? in which bb file did you add
> it ?
> Did the whole toolchain work out for you now ?

It seems your metadata is obsolete, avr32 builds have 'just worked' for 
a few months now thanks to several companies funding OE avr32 work.

A sample of what angstrom can do now:

http://www.youtube.com/watch?v=vvOyixL8BRM

regards,

Koen







More information about the Openembedded-devel mailing list