<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<br>
<div class="moz-cite-prefix">On 10/29/19 9:31 PM, Khem Raj wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAMKF1so131wZ80vgLm3KRu9DnBa=P08B=eJFwSNUb-BpAYJbnw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div><br>
</div>
<div><br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Oct 29, 2019 at 9:19
AM Richard Purdie <<a
href="mailto:richard.purdie@linuxfoundation.org"
moz-do-not-send="true">richard.purdie@linuxfoundation.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri,
2019-10-25 at 23:49 -0700, Armin Kuster wrote:<br>
> From: Michael Ho <<a href="mailto:Michael.Ho@bmw.de"
target="_blank" moz-do-not-send="true">Michael.Ho@bmw.de</a>><br>
> <br>
> The find_program command will fail if it is used on a
tool that is<br>
> listed in<br>
> ASSUME_PROVIDED. This is because these tools are in the
hosttools<br>
> directory<br>
> which is not listed in CMAKE_FIND_ROOT_PATH so cmake
will not find<br>
> them.<br>
> <br>
> Adding the directory HOSTTOOLS_DIR to the
CMAKE_FIND_ROOT_PATH<br>
> variable fixes<br>
> the initial issue of needing to search for tools in
ASSUME_PROVIDED.<br>
> <br>
> Note that this change alone does not fix the issue
because<br>
> find_program will<br>
> by default only look into the subdirectories bin and
usr/bin under<br>
> the paths<br>
> in CMAKE_FIND_ROOT_PATH to find the programs and the
hosttools<br>
> directory has<br>
> instead the symlinks directly present without these
subdirectories.<br>
> <br>
> Set CMAKE_PROGRAM_PATH to by default include the root
directory so<br>
> find_program can search the hosttools directory without
needing the<br>
> prefix<br>
> directories.<br>
> <br>
> Signed-off-by: Ross Burton <<a
href="mailto:ross.burton@intel.com" target="_blank"
moz-do-not-send="true">ross.burton@intel.com</a>><br>
> (cherry picked from commit
7847f431cd8db59fce8c9401a603c4b0678ee16d)<br>
> Signed-off-by: Armin Kuster <<a
href="mailto:akuster808@gmail.com" target="_blank"
moz-do-not-send="true">akuster808@gmail.com</a>><br>
<br>
Given the fallout in meta-oe, I don't plan to take this.<br>
</blockquote>
<div dir="auto"> </div>
<div dir="auto">+1</div>
</div>
</div>
</blockquote>
<br>
So is this why to took me on a 3 mile walk up a hill?<br>
<br>
<br>
<blockquote type="cite"
cite="mid:CAMKF1so131wZ80vgLm3KRu9DnBa=P08B=eJFwSNUb-BpAYJbnw@mail.gmail.com">
<div>
<div class="gmail_quote">
<div dir="auto"><br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Cheers,<br>
<br>
Richard<br>
<br>
-- <br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org"
target="_blank" moz-do-not-send="true">Openembedded-core@lists.openembedded.org</a><br>
<a
href="http://lists.openembedded.org/mailman/listinfo/openembedded-core"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</blockquote>
</div>
</div>
</blockquote>
<br>
</body>
</html>