Yocto SDK - Change to include newer cmake version

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

Yocto SDK - Change to include newer cmake version

跳至解决方案
4,682 次查看
amrit_soni
Contributor I

Hi,

 

I am building Yocto 4.14.98_2.0.0_ga on Ubuntu 16.04, for our board based on iMX8M-Mini. Then I generate populate_sdk, install it on the same development PC, so that I can cross compile my applications.

I noticed that the sdk includes cmake version 3.10.3, which is in the path. But I need to use cmake 3.20 or latest for building my application. CMake 3.20 is already installed in /usr/bin, but sdk's path is before it..

Is there a way to not include cmake in the populate sdk or to include a newer version of cmake?

Thanks.

Amrit Soni

标签 (1)
0 项奖励
回复
1 解答
4,671 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

You  can find cmake-native_ 3.10.3.bb file and change it's version.But the best way is to upgrade new BSP version.

 

BR

Zhiming

在原帖中查看解决方案

0 项奖励
回复
2 回复数
4,672 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

You  can find cmake-native_ 3.10.3.bb file and change it's version.But the best way is to upgrade new BSP version.

 

BR

Zhiming

0 项奖励
回复
4,651 次查看
amrit_soni
Contributor I

Hi Zhiming,

I was able to replace the version of cmake using the .bb filename and then resolving dependencies.

Thank you so much.

Amrit

0 项奖励
回复