<div class="gmail_quote">On Fri, Aug 3, 2012 at 11:43 AM, Radu Moisan <span dir="ltr"><<a 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>