Yocto SDK - Change to include newer cmake version

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

Yocto SDK - Change to include newer cmake version

Jump to solution
4,659 Views
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

Labels (1)
0 Kudos
Reply
1 Solution
4,648 Views
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

View solution in original post

0 Kudos
Reply
2 Replies
4,649 Views
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 Kudos
Reply
4,628 Views
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 Kudos
Reply