How to update the standalone toolchain?

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

How to update the standalone toolchain?

跳至解决方案
1,878 次查看
victormazin
Contributor II

Hi

We use SDK: Freescale Linux LS1021A SDK v0.4

We created the tool-chain with Yocto:

$ bitbake fsl-toolchain

The tool-chain works. We can to compile the codes.

Now I would like to add the libxml2 library in the toolchain in order to use this library during linking.

The libxml2-2.9.1.tar.gz file is in the <SDK>/source  folder.

How can I add the libxml2 library to the toolchain?

Regards

Victor

标签 (1)
0 项奖励
回复
1 解答
1,721 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello Victor,

Please run "bitbake libxml2", and the libraries which you required are deployed in build_ls1021atwr_release/tmp/sysroots/ls1021atwr/usr/lib/.


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,722 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello Victor,

Please run "bitbake libxml2", and the libraries which you required are deployed in build_ls1021atwr_release/tmp/sysroots/ls1021atwr/usr/lib/.


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
1,721 次查看
victormazin
Contributor II

Thank you Yiping,

I copied the all libxml2.* files from the build_ls1021atwr_release/tmp/sysroots/ls1021atwr/usr/lib/  folder to

the folder /opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/cortexa7hf-vfp-neon-fsl-linux-gnueabi/usr/lib folder and also added /libxml folder to /usr/include/ .

Regards

Victor

0 项奖励
回复