<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 23 June 2017 at 11:57, Adam Trhon <span dir="ltr">&lt;<a href="mailto:adam.trhon@tbs-biometrics.com" target="_blank">adam.trhon@tbs-biometrics.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":4e9" class="a3s aXjCH m15cd499b0cbb16eb">According to documentation, this is expanded during recipe parsing. At<br>
that time ${S}/oe_arguments.txt does not yet exits (it exists only after<br>
do_unpack). I tried it and the build failed with python Exception:<br>
FileNotFound.<br></div></blockquote><div><br></div><div>Yes, good point. In m defence it was late. :)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":4e9" class="a3s aXjCH m15cd499b0cbb16eb">
I tried<br>
<br>
python do_setup_extra_oecmake() {<br>
    d.appendVar(&quot;EXTRA_OECMAKE&quot;, &quot; &quot; + open(d.expand(&quot;${S}/oe_<wbr>arguments.txt&quot;)).read())<br>
    print(&quot;adding &quot;+d.expand(&quot;${S}/oe_arguments.<wbr>txt&quot;))<br>
}<br>
<br>
addtask do_setup_extra_oecmake after do_unpack before do_configure<br>
<br>
but it did not work as well. The &quot;adding.... &quot; line is printed<br>
correctly in log.do_setup_extra_oecmake, the file exists, but the<br>
arguments in it are not used (I checked run.do_configure).<br></div></blockquote></div><br>Have a look at log.do_configure and verify what options are being passed.  I&#39;m also assuming that you&#39;re using the cmake class here.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div>