[Openembedded-users] avr32 build issue

Bjørn Forsman bjorn.forsman at gmail.com
Tue Dec 21 22:46:54 UTC 2010


Hi,

On 21 December 2010 18:44, Khem Raj <raj.khem at gmail.com> wrote:
> On (21/12/10 16:49), Kaushal Kumar wrote:
>> Hi all,
>> I am trying to build for AVR32 following the instructions at:
>> http://www.openembedded.org/index.php/Getting_started
>>
>> My local.conf file contains:
>> BBFILES = "${HOME}/oe/openembedded/recipes/*/*.bb"
>> MACHINE = “atngw100″
>> TARGET_OS = “linux-uclibc”
>> DISTRO = “angstrom-2010.x″
>>
>> I execute the command: bitbake nano
>>
>> The Build Configuration is shown as:
>> BB_VERSION        = "1.10.0"
>> METADATA_BRANCH   = "org.openembedded.dev"
>> METADATA_REVISION = "afb05a2"
>> TARGET_ARCH       = "avr32"
>> TARGET_OS         = "linux"
>> MACHINE           = "atngw100"
>> DISTRO            = "angstrom"
>> DISTRO_VERSION    = "next"
>>
>> My question is why does the build configuration take TARGET_OS as linux
>> instead of linux-uclibc?
>
> you should not set TARGET_OS yourself on angstrom. You should set
> ANGSTROMLIBC = "uclibc"
> in your local.conf and remove TARGET_OS = "linux-uclibc"
> this should help this case hopefully

Why is it that you have to set ANGSTROMLIBC = "uclibc" in local.conf?
If this is the only libc that builds for AVR32, couldn't OE/bitbake select it
automatically instead of causing a build failure?

Best regards,
Bjørn Forsman




More information about the Openembedded-users mailing list