[yocto] How to set the sysroot toolchain to hard float

Khem Raj raj.khem at gmail.com
Fri Aug 5 00:16:49 PDT 2016



On 8/5/16 12:04 AM, S.Jaritz at esa-grimma.de wrote:
> Hej
> 
> I am building for the Atmel Evalbaord SAMA5D3x a Yocto Image. It works
> fine, but sysroot toolchain is set to soft float instead of hard float.
> How can I set the sysroot toolchain to hard float?
> 
> My actual configuration:
> 1.) use meta-atmel layer
> 2.) in /build/conf/layer.conf -> MACHINE ??= "sama5d3xek"
> 
> @meta-atmel:
> /conf/machine/sama5d3xek.conf includes sama5d3.inc
> in this file:
> SOC_FAMILY = "sama5:sama5d3"
> DEFAULTTUNE = "cortexa5thf"
> 
> I am not understanding why for the sysroot the default tune is not used.
> Any ideas are welcome.

How did you find that out ? can you send your build configuration output
that bitbake prints when starting the build ?
secondly, TOOLCHAIN_OPTIONS is what decides this ABI
so when you use CC and CXX and friends, the right thing happens since it
will be appending TOOLCHAIN_OPTIONS to these vars. but if you use bare
cross compiler that will default to soft-float

> 
> 
> Regards!
> 
> Stefan Jaritz
> ------------------------------------------------------------
> ESA Elektroschaltanlagen Grimma GmbH
> Broner Ring 30
> 04668 Grimma
> Telefon: +49 3437 9211 176
> Telefax: +49 3437 9211 26
> E-Mail: s.jaritz at esa-grimma.de
> Internet: www.esa-grimma.de
> 
> 
> Geschäftsführer:
> Dipl.-Ing. Jörg Gaitzsch
> Jörg Reinker
> 
> Sitz der Gesellschaft: Grimma
> Ust.-ID: DE 141784437
> Amtsgericht: Leipzig, HRB 5159
> Steuernummer: 238/108/00755
> 
> 
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> Informationen.
> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
> erhalten
> haben, informieren Sie bitte sofort den Absender und löschen Sie diese
> Nachricht. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser
> Mail
> ist nicht gestattet.
> 
> This e-mail may contain confidential and/or privileged information. If
> you are
> not the intended recipient (or have received this e-mail in error) please
> notify the sender immediately and destroy this e-mail. Any unauthorized
> copying, disclosure or distribution of the material in this e-mail is
> strictly
> forbidden.
> 
> 



More information about the yocto mailing list