Yocto assembly files

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Yocto assembly files

419 Views
niklasmolin
Senior Contributor I

Hi.


I wonder if there is a way to create (keep) assembly files when compiling project in Yocto?

Thanks,

Niklas

Labels (2)
0 Kudos
1 Reply

307 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Niklas,

Never try it in yocto but, I guess you can add the -S (capital S) to the GCC flags in the do_compile section of the recipe of your source file. it will emit the assembly code to a .s file.

also you can add it to the CC flasgs on bitbake.conf

Hope this helps

0 Kudos