<?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>4090</bug_id>
          
          <creation_ts>2013-03-24 12:38:48 +0000</creation_ts>
          <short_desc>MACHINEOVERRIDES still inconsistent</short_desc>
          <delta_ts>2013-03-25 20:52:27 +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>configuration</component>
          <version>1.3</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></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jochen Trumpf">Jochen.Trumpf</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>31062</commentid>
    <comment_count>0</comment_count>
    <who name="Jochen Trumpf">Jochen.Trumpf</who>
    <bug_when>2013-03-24 12:38:48 +0000</bug_when>
    <thetext>Following the recent commit

448efe65f51b996205dba009b0bdf25c19020d6f
soc-family: fix SOC_FAMILY override order

the contents of the variable MACHINEOVERRIDES are unfortunately still inconsistent (at least as far as I understand). It now lists SOC_FAMILY first, then MACHINE and then the active TUNE_FEATURES. 

Since the TUNE_FEATURES (armv7a in my case) are less specific than both SOC_FAMILY (omap3) and MACHINE (overo), they should come first, not last. 

This means, all the MACHINEOVERRIDES .= &quot;${@bb.utils.contains(&quot;TUNE_FEATURES&quot;, [...] entries in meta/conf/machine/include/(ia32|arm)/*inc would need to be changed to &apos;=.&apos;.

Additionally, this will only work if machine config files always read soc-family.inc first and then the tune files. The overo.conf file in meta-gumstix does it in the correct order, I have not checked any other machine configs.

Not sure if there would be a better fix that does not depend on reading .inc files in a specific order. If not, this should be documented somewhere so people know to include soc-family.inc first.

The easiest way to check your install for this is using
bitbake -e | grep MACHINEOVERRIDES</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31134</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-03-25 16:32:02 +0000</bug_when>
    <thetext>Patch out for review on OE-Core list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31143</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-03-25 20:52:27 +0000</bug_when>
    <thetext>Fixed in master with: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=88fa952b7c36c1d3375d0b1cbd9879f61def5b25</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>