How to use bitbake to compiler *.c

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

How to use bitbake to compiler *.c

541 Views
t2865k5
Contributor I

Dear NXP ,

HW : imx8mplus 

How to use bitbake to compile a *.c file.
I want to build a mdio.c ,and make it is a bin file.

For example: bitbake -c mdio.c

Can you tell me the correct grammar ?

0 Kudos
1 Reply

530 Views
jimmychan
NXP TechSupport
NXP TechSupport

You may read Chapter 4.5.12 in i.MX Linux User’s Guide​ as reference. It use the ARM toolchain to build the kernel and u-boot standalone. So you can use the same ARM toolchain to build your source code.

0 Kudos