<div class="gmail_quote">On Fri, Aug 3, 2012 at 11:43 AM, Radu Moisan <span dir="ltr">&lt;<a href="mailto:radu.moisan@intel.com" target="_blank">radu.moisan@intel.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 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(&quot;UBOOT_MACHINE&quot;,
        True):<br>
            PN = d.getVar(&quot;PN&quot;, True)<br>
            FILE = os.path.basename(d.getVar(&quot;FILE&quot;, True))<br>
            bb.debug(1, &quot;To build %s, see %s for instructions on \<br>
                            setting up your machine config&quot; % (PN,
        FILE))<br>
            raise bb.parse.SkipPackage(&quot;because UBOOT_MACHINE is not
        set&quot;)</font></small><br>
    <br>
    and while I don&#39;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 &#39;u-boot&#39;</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>