<div>These are specified differently when using the Yocto build system you should not be using these variables in your makefiles<br><div class="gmail_quote"><div>On Tue, Jan 10, 2017 at 8:11 AM Karim ATIKI <<a href="mailto:karim_atiki@hotmail.com">karim_atiki@hotmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br><br><br><br><br><br><br><br><br><div class="gmail_msg"><br><br><div id="m_-122696988478732757divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" class="gmail_msg"><br><br><p class="gmail_msg">Hi,</p><br><br><p class="gmail_msg"><br class="gmail_msg"><br><br></p><br><br><p class="gmail_msg">I'm using generated Poky SDK to cross-compile our program source-codes, which works fine.</p><br><br><p class="gmail_msg"><br class="gmail_msg"><br><br></p><br><br><p class="gmail_msg">Now I wish to integrate the build of the project into Yocto recipes using our makefiles.</p><br><br><p class="gmail_msg"><br class="gmail_msg"><br><br></p><br><br><p class="gmail_msg">However, some custom parameters in the makefiles are using the variables <span class="gmail_msg">OECORE_TARGET_SYSROOT  and <span class="gmail_msg">OECORE_NATIVE_SYSROOT to manage paths.</span></span></p><br><div id="m_-122696988478732757divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" class="gmail_msg"><br></div><br><p class="gmail_msg">But it appears that these 2 variables do not exists when the makefiles are called in a do_compile() function of a recipe.</p><br><br><p class="gmail_msg"><br class="gmail_msg"><br><br></p><br><br><p class="gmail_msg">Is it normal ? Did I did something wrong ? </p><br><br><p class="gmail_msg">Should my recipe inherit something specific? </p><br><br><p class="gmail_msg"><br class="gmail_msg"><br><br></p><br><br><p class="gmail_msg">Or should I "source" my "<span style="font-size:12pt" class="gmail_msg">environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi" from the SDK into my recipe file ? (=> not portable)</span></p><br><br><p class="gmail_msg"><br class="gmail_msg"><br><br></p><br><br><p class="gmail_msg">Thanks.</p><br><br><p class="gmail_msg"><br class="gmail_msg"><br><br></p><br><br><p class="gmail_msg">Z.<br class="gmail_msg"><br><br><span style="font-size:12pt" class="gmail_msg"></span></p><br><br><div class="gmail_msg"><br class="gmail_msg"><br><br></div><br><br><p class="gmail_msg"></p><br><br><p class="gmail_msg"><br class="gmail_msg"><br><br></p><br><br><p class="gmail_msg"><br class="gmail_msg"><br><br></p><br><br></div><br><br></div><br><br><br><br>--<br class="gmail_msg"><br>_______________________________________________<br class="gmail_msg"><br>yocto mailing list<br class="gmail_msg"><br><a href="mailto:yocto@yoctoproject.org" class="gmail_msg" target="_blank">yocto@yoctoproject.org</a><br class="gmail_msg"><br><a href="https://lists.yoctoproject.org/listinfo/yocto" rel="noreferrer" class="gmail_msg" target="_blank">https://lists.yoctoproject.org/listinfo/yocto</a><br class="gmail_msg"><br></blockquote></div></div>