<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>5861</bug_id>
          
          <creation_ts>2014-02-21 10:04:28 +0000</creation_ts>
          <short_desc>SDKMACHINE can&apos;t be set in the distro config</short_desc>
          <delta_ts>2014-04-02 12:16:46 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>1.5.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>02 April 2014: Doc flag set to &quot;Done.&quot;</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.6</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>srifenbark</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Done (doc changes complete)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>40570</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-02-21 10:04:28 +0000</bug_when>
    <thetext>If you set SDKMACHINE in the distro config it will not have any effect; this is because of the ordering in meta/conf/bitbake.conf:

...
include conf/machine-sdk/${SDKMACHINE}.conf
include conf/distro/${DISTRO}.conf
...

The value won&apos;t get set until after the line where its value would have any effect has been parsed. Assuming we can&apos;t reorder the includes in bitbake.conf, I think we should add a check in sanity.bbclass to see if the include actually happened assuming SDKMACHINE has a value. This should be a simple matter of checking BBINCLUDED.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41991</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-03-31 23:24:13 +0000</bug_when>
    <thetext>Added a check in sanity.bbclass to determine if the SDKMACHINE value has really taken effect; this has now been merged:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=49f2bc450c1dd969eba30287050e25030116b714

We need to note in the manual that SDKMACHINE cannot be set in the distro config.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42159</commentid>
    <comment_count>2</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-04-02 12:16:46 +0000</bug_when>
    <thetext>See http://www.yoctoproject.org/docs/1.6/ref-manual/ref-manual.html#var-SDKMACHINE for the note that takes care of this doc part.

I have run the changes by Paul and he approved them.

Setting the documentation flag to &quot;Done.&quot;

Scott</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>