<?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>11881</bug_id>
          
          <creation_ts>2017-08-01 15:24:53 +0000</creation_ts>
          <short_desc>add infrastructure to allow BSPs to switch between *set* of configurations</short_desc>
          <delta_ts>2026-08-06 15:30:19 +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>BSPs</product>
          <component>bsps-oe-core</component>
          <version>2.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>6.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Trevor Woerner">twoerner</reporter>
          <assigned_to name="Trevor Woerner">twoerner</assigned_to>
          <cc>bruce.ashfield</cc>
    
    <cc>denis</cc>
    
    <cc>dl9pf</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>75564</commentid>
    <comment_count>0</comment_count>
    <who name="Trevor Woerner">twoerner</who>
    <bug_when>2017-08-01 15:24:53 +0000</bug_when>
    <thetext>meta-freescale includes a class (machine-overrides-extender) to make it easy for a BSP maintainer to create, and a BSP user to switch between, multiple *sets* of configurations for a given MACHINE.

Why would a BSP want to do that? Because in some cases there are multiple choices for the user. For example: for the kernel, the user could choose either the vendor kernel or the upstream kernel. However, sometimes these decisions are &quot;locked&quot; together: i.e. if you want to use the vendor&apos;s binary blob for (say) graphics, then you have to use their vendor kernel as well. It&apos;s not possible for a user to choose, say, the graphics binary blob but want to use the upstream kernel too. Therefore the BSP ends up with &quot;sets&quot; of configurations which need to
be taken collectively instead of piecemeal.

I would like to see this functionality added to oe-core so all BSPs could take advantage of this feature without having to duplicate this class per BSP.

The class can be found here:
https://github.com/Freescale/meta-freescale/blob/master/classes/machine-overrides-extender.bbclass

An example of its use can be found here:
https://github.com/Freescale/meta-freescale/blob/master/conf/machine/include/imx-base.inc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77239</commentid>
    <comment_count>1</comment_count>
    <who name="Jan-Simon Moeller">dl9pf</who>
    <bug_when>2017-09-29 21:18:11 +0000</bug_when>
    <thetext>+1 !</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77696</commentid>
    <comment_count>2</comment_count>
    <who name="Trevor Woerner">twoerner</who>
    <bug_when>2017-10-19 13:14:51 +0000</bug_when>
    <thetext>Couldn&apos;t we just add what we have now, and if it&apos;s deemed &quot;not perfect&quot; in the future, provide patches then for improvements?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92465</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2022-02-03 16:15:15 +0000</bug_when>
    <thetext>This idea would need discussion. I can see the idea behind it but I&apos;m also not sure this is something we want to encourage in the core. As such I&apos;m rather torn on it but it would need wider discussion.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96868</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-10-24 14:24:33 +0000</bug_when>
    <thetext>Bulk move from 4.99 or 0.00 to 5.99</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106462</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2026-08-06 15:30:19 +0000</bug_when>
    <thetext>See: https://bugzilla.yoctoproject.org/show_bug.cgi?id=11881#c3</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>