Subject: EXTRA_OECMAKE options are ignored #sdk #yocto To: yocto@lists.yoctoproject.org From: "Armando Hernandez" X-Originating-Location: Frankfurt am Main, Hesse, DE (62.4.90.5) X-Originating-Platform: Linux Chrome 79 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Wed, 11 Mar 2020 03:37:58 -0700 Message-ID: Content-Type: multipart/alternative; boundary="be9YywydXrWpVvxfuLcI" --be9YywydXrWpVvxfuLcI Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, 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: EXTRA_OECMAKE +=3D "-DCMAKE_FIND_ROOT_PATH_MODE=3DBOTH \ -CMAKE_FIND_ROOT_PATH=3D/home/user/SDK/sysroots/x86_64-pokysdk-linux \ " Now, the problem is that after running devtool=C2=A0 build test-hello (whe= re 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? --be9YywydXrWpVvxfuLcI Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi,

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:
EX= TRA_OECMAKE +=3D "-DCMAKE_FIND_ROOT_PATH_MODE=3DBOTH \
    &= nbsp;              -CMAKE_FIND_ROOT_PATH= = =3D/home/user/SDK/sysroots/x86_64-pokysdk-linux \
     = ;              "

Now, the pro= blem is that after running devtool  build test-hello (where test-hello is my re= cipe as you might have assumed), these variables are overwritten with other= values.

How can I successfully pass the correct cmake options v= ia EXTRA_OECMAKE on the recipe?
--be9YywydXrWpVvxfuLcI--