Hi Maxime,

> -----Original Message-----
> From: [email protected] [mailto:meta-xilinx-
> [email protected]] On Behalf Of Maxime Roussin-Belanger
> Sent: Friday, July 13, 2018 10:05 AM
> To: [email protected]
> Cc: [email protected]
> Subject: [meta-xilinx] Where are the TUNE_CCARGS when compiling for cortex-
> a53 with zynqmp
> 
> Hello!
> 
> When are compiling our recipes with a cross aarch64-gcc compiler, we don't see
> any "-march=armv8-a -mtune=cortex-a57.cortex-a53" flags in the Makefiles and 
> in
> the log.do_compile or log.do_configure.
> 
> We require tune-zynqmp.conf in our machine configuration and that means we do
> see the aarch64 flags, but not the cortex tune. I didn't find any 
> tune-cortexa53,
> does that mean there is nothing to do for that CPU and that we should just use
> the default aarch64 tune?
> 

The require file here
https://github.com/Xilinx/meta-xilinx/blob/master/meta-xilinx-bsp/conf/machine/include/tune-zynqmp.inc#L11

includes all the required tune for aarch64
https://github.com/openembedded/openembedded-core/blob/master/meta/conf/machine/include/arm/arch-arm64.inc

> Are they implicit(the compiler flags) when using an aarch64 cross compiler?
> 
Yes
> Do I have to create my own tune file for the cortex-a57.cortex-a53?
> 
Don't think so you need one for aarch64

Thanks,
Manju
-- 
_______________________________________________
meta-xilinx mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-xilinx

Reply via email to