<div dir="ltr">Hi,<div><br></div><div>yes fw-utils is similar, but has different dependencies and builds slightly differently.</div><div><br></div><div>mkenvimage on the other hand is already built by current u-boot-mkimage recipe, just not installed by default (adding separate recipe would build it twice).</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Nov 15, 2018 at 11:32 AM Alexey Brodkin &lt;<a href="mailto:alexey.brodkin@synopsys.com">alexey.brodkin@synopsys.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Martin,<br>
<br>
On Thu, 2018-11-15 at 10:27 +0100, Martin Jansa wrote:<br>
&gt; On Thu, Nov 15, 2018 at 05:15:03AM +0000, Alexey Brodkin wrote:<br>
&gt; &gt; Hi Marek,<br>
<br>
[snip]<br>
<br>
&gt; &gt; &gt; Reviewed-by: Marek Vasut &lt;<a href="mailto:marex@denx.de" target="_blank">marex@denx.de</a>&gt;<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; That said, could the recipe for mkimage and mkenvimage be somehow<br>
&gt; &gt; &gt; deduplicated ? There seems to be a lot of common stuff.<br>
&gt; &gt; <br>
&gt; &gt; I&#39;d say why don&#39;t we just have one recipe for all U-Boot tools<br>
&gt; &gt; instead of adding tools one-by-one?<br>
&gt; <br>
&gt; Or add:<br>
&gt;     install -m 0755 tools/mkenvimage ${D}${bindir}/uboot-mkenvimage<br>
&gt;     ln -sf uboot-mkenvimage ${D}${bindir}/mkenvimage<br>
&gt; <br>
&gt; to existing u-boot-mkimage recipe, that&#39;s what I&#39;m doing in<br>
&gt; u-boot-mkimage bbappend.<br>
<br>
Sure and indeed that was my initial intention but then I noticed<br>
there&#39;re separate recipes for mkimage and fw-utils and decided<br>
to act similarly.<br>
<br>
If OE people is fine with addition of another (pretty similar ideologically)<br>
utility in <a href="http://u-boot-mkimage_xx.bb" rel="noreferrer" target="_blank">u-boot-mkimage_xx.bb</a> then I&#39;m happy to implement it that way.<br>
<br>
-Alexey<br>
</blockquote></div>