<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Sorry, my bad, I was trying to build u-boot-fw-utils and assumed
wrongly that the recipe requires u-boot.inc<br>
<br>
Radu<br>
<br>
<div class="moz-cite-prefix">On 08/03/2012 11:45 AM, Andrei Gherzan
wrote:<br>
</div>
<blockquote
cite="mid:CAK18fxFeUezS1VEfN+z24_0NYn7nn+w3p=HyDQ_EigJ8qForgw@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div class="gmail_quote">On Fri, Aug 3, 2012 at 11:43 AM, Radu
Moisan <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:radu.moisan@intel.com" target="_blank">radu.moisan@intel.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> I found the following
code in u-boot.inc<br>
<br>
<small><font face="Droid Sans Mono">if not
d.getVar("UBOOT_MACHINE", True):<br>
PN = d.getVar("PN", True)<br>
FILE = os.path.basename(d.getVar("FILE", True))<br>
bb.debug(1, "To build %s, see %s for instructions on
\<br>
setting up your machine config" %
(PN, FILE))<br>
raise bb.parse.SkipPackage("because UBOOT_MACHINE is
not set")</font></small><br>
<br>
and while I don't have UBOOT_MACHINE set, u-boot still
follows with no problems through do_fetch, do_configure,
do_compile and so on, and finishes without any
problem/error. I would have expected to be skipped as the
above code snipped would imply, but I cannot find that log
message anywhere (nor any error to indicate failure). Can
somebody point me in the right direction with this?<span
class="HOEnZb"><font color="#888888"><br>
</font></span></div>
<div bgcolor="#FFFFFF" text="#000000"><br>
</div>
</blockquote>
<div> </div>
<div>Are you sure that variable is not set somewhere? Gave it a
try on a machine with no u-boot defined:</div>
<div><br>
</div>
<div>
<div>ERROR: Nothing PROVIDES 'u-boot'</div>
<div>ERROR: u-boot was skipped: because UBOOT_MACHINE is not
set</div>
<div>ERROR: u-boot was skipped: because UBOOT_MACHINE is not
set</div>
<div>ERROR: u-boot was skipped: because UBOOT_MACHINE is not
set</div>
</div>
</div>
<br>
<div>ag</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Openembedded-core mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.openembedded.org</a>
<a class="moz-txt-link-freetext" href="http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core">http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core</a>
</pre>
</blockquote>
<br>
</body>
</html>