<div dir="ltr">I&#39;ve already tried that, systemd&#39;s configure does not respect that.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Apr 6, 2013 at 12:08 AM, Chris Larson <span dir="ltr">&lt;<a href="mailto:clarson@kergoth.com" target="_blank">clarson@kergoth.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 dir="ltr"><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Fri, Apr 5, 2013 at 2:20 PM, Martin Jansa <span dir="ltr">&lt;<a href="mailto:martin.jansa@gmail.com" target="_blank">martin.jansa@gmail.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>On Fri, Apr 05, 2013 at 11:20:44AM +0200, Marcin Juszkiewicz wrote:<br>
&gt; For last few months I am working on fixing Linaro binary cross<br>
&gt; toolchains and their support in OpenEmbedded. Got to point when they<br>
&gt; work (both AArch64 and ARMv7a ones) for single packages but problem<br>
&gt; starts when I want to create image...<br>
<br>
</div>Today I got different king of issue with external toolchain.<br>
<br>
systemd is using AC_PATH_TOOL(OBJCOPY, objcopy)<br>
but host prefix in OE is not the same as in binary toolchain (different TARGET_VENDOR)<br>
so it looks for configure:14545: checking for arm-foo-linux-gnueabi-objcopy<br>
while binary toolchain has only               arm-bar-linux-gnueabi-objcopy<br>
<br>
and because arm-foo-linux-gnueabi-objcopy wasn&#39;t found it continues:<br>
configure:14588: checking for objcopy<br>
configure:14606: found /usr/bin/objcopy<br>
and bam a lot later when it tries objcopy from host on some arm lib<br>
<br>
Interesting that systemd is first recipe in our image where I&#39;ve noticed<br>
issues like this<br>
<br>
Any idea how to easily resolve this without checking every <a href="http://configure.ac" target="_blank">configure.ac</a><br>
how it&#39;s looking for e.g. objcopy?</blockquote></div><br></div></div>export OBJCOPY in the environment to the one based on TARGET_PREFIX rather than TARGET_SYS, and it&#39;ll use that.<span class="HOEnZb"><font color="#888888"><br>
-- <br>Christopher Larson</font></span></div></div>
</blockquote></div><br></div>