Re: EXTRA_OECMAKE options are ignored #yocto #sdk

Khem Raj

On 3/11/20 3:37 AM, Armando Hernandez wrote:
I built an eSDK.
Now I'm using devtool add to create a hello world recipe.
Once the recipe was in place, I added some cmake optoins via EXTRA_OECMAKE in htis way:
 -CMAKE_FIND_ROOT_PATH=/home/user/SDK/sysroots/x86_64-pokysdk-linux \
Now, the problem is that after running devtool  build test-hello (where test-hello is my recipe as you might have assumed), these variables are overwritten with other values.
How can I successfully pass the correct cmake options via EXTRA_OECMAKE on the recipe?

please post your recipe

Join to automatically receive all group messages.