Where is the path of cross compiler in yocto imx-3.10.53-1.1.0_ga BSP?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Where is the path of cross compiler in yocto imx-3.10.53-1.1.0_ga BSP?

11,884 次查看
waynelou
Contributor I

Hi,

I am using yocto imx-3.10.53-1.1.0_ga for SABRE-SD board.

I have used bitbake to build kernel and rootfs as image and run on the board successfully:

~/imx/build$ bitbake -c compile -f linux-imx -DDD

~/imx/build$ bitbake -c deploy linux-imx -DDD

~/imx/build$ bitbake core-image-minimal

Now I need to build the external GPS driver package, I would like to know where the exactly CROSS_COMPILE path.

I am new to yocto, could somebody help me? thanks!

BR,

Wayne

标签 (1)
0 项奖励
回复
1 回复

4,509 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Wayne Lou,

If you would like to build outside the Bitbake environment you would need to extract the Toolchain and then use it for cross compiling. There are steps to do this for the Kernel on the following community documents, although the process would be the same.

Task #7 - Create the toolchain

Task #8 - Build kernel manually using created toolchain

I hope this information helps!

0 项奖励
回复