<div dir="ltr">FWIW: my do_compile_prepend hack to stop autodetecting swig from sysroot (in pre-RSS - recipe specific sysroots in Yocto 2.2) stopped working in 2017.07 version where it was moved from tools/Makefile:<div><a href="https://github.com/u-boot/u-boot/commit/727f153629719c93f9c5df6e391fdfee32377ca7#diff-c9b3e9a4c86396781af56d6bdfc8c9f3">https://github.com/u-boot/u-boot/commit/727f153629719c93f9c5df6e391fdfee32377ca7#diff-c9b3e9a4c86396781af56d6bdfc8c9f3</a><br></div><div><br></div><div>It was still building without swig I belive until 2018.07 version which doesn&#39;t use &quot;$(if $(shell which swig 2&gt; /dev/null)&quot; to check for native swig anymore since:</div><div><a href="https://github.com/u-boot/u-boot/commit/15b97f5c5e6d88e0560c6928f3acd01c999a494d#diff-c9b3e9a4c86396781af56d6bdfc8c9f3">https://github.com/u-boot/u-boot/commit/15b97f5c5e6d88e0560c6928f3acd01c999a494d#diff-c9b3e9a4c86396781af56d6bdfc8c9f3</a><br></div><div><br></div><div>Thanks Joshua for the fix.</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Jul 19, 2018 at 7:00 PM Joshua Watt &lt;<a href="mailto:jpewhacker@gmail.com">jpewhacker@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, 2018-07-11 at 20:56 +0200, Marek Vasut wrote:<br>
&gt; On 07/11/2018 06:10 PM, Burton, Ross wrote:<br>
&gt; &gt; On 11 July 2018 at 16:03, Marek Vasut &lt;<a href="mailto:marex@denx.de" target="_blank">marex@denx.de</a>&gt; wrote:<br>
&gt; &gt; &gt; The U-Boot build, in particular the pylibfdt, depends on swig-<br>
&gt; &gt; &gt; native.<br>
&gt; &gt; &gt; Add the missing dependency.<br>
&gt; &gt; <br>
&gt; &gt; If pylibfdt isn&#39;t usually needed (which it cant be, if swig is an<br>
&gt; &gt; optional build dependency which isn&#39;t on my machines, or the<br>
&gt; &gt; autobuilders, right?) can we just disable the building of pylibfdt<br>
&gt; &gt; instead?<br>
&gt; <br>
&gt; Why do you think libpyfdt isn&#39;t usually needed ?<br>
&gt; <br>
&gt; Why do you think swig is optional dependency ?<br>
<br>
I encountered this same issue and was able to track it down. The<br>
problem is that u-boot is building pylibfdt using the host Python<br>
instead of using python-native provided by bitbake. pylibfdt is a non-<br>
optional dependency for several u-boot configurations, in my case qemu-<br>
x86 and qemu-x84_64.<br>
<br>
I pushed a patch to the mailing list that I think fixes this: <a href="http://li" rel="noreferrer" target="_blank">http://li</a><br>
<a href="http://sts.openembedded.org/pipermail/openembedded-core/2018-July/153115.html" rel="noreferrer" target="_blank">sts.openembedded.org/pipermail/openembedded-core/2018-July/153115.html</a><br>
<br>
&gt; <br>
&gt; &gt; Ross<br>
&gt; &gt; <br>
&gt; <br>
&gt; <br>
&gt; -- <br>
&gt; Best regards,<br>
&gt; Marek Vasut<br>
-- <br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</blockquote></div>