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,760件の閲覧回数
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,385件の閲覧回数
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 件の賞賛
返信