<?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>3421</bug_id>
          
          <creation_ts>2012-11-13 18:48:58 +0000</creation_ts>
          <short_desc>Cleanup standard-nocfg.scc</short_desc>
          <delta_ts>2013-03-19 12:55:34 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Kernel</product>
          <component>linux-yocto</component>
          <version>1.3</version>
          <rep_platform>x86</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>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.4 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Darren Hart">dvhart</reporter>
          <assigned_to name="Bruce Ashfield">bruce.ashfield</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>27412</commentid>
    <comment_count>0</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-11-13 18:48:58 +0000</bug_when>
    <thetext>The standard-nocfg.scc was originally intended to collect all the non-config related content for the standard scc. Somewhere along the way it appears to have done just the opposite! It pulls in a number of &quot;feature&quot; scc files that do nothing more than change configs.

Perhaps this is just an articfact of a number of things finally being merged upstream. Perhaps -nocfg no longer adequately describes what this file is meant to accomplish. In any case, it is rather confusing and we should clean this up and make the meaning explicit as it serves as our primary example of how to prepare a ktype.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27482</commentid>
    <comment_count>1</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2012-11-15 16:53:23 +0000</bug_when>
    <thetext>putting this in M3, since having more 1.4 features available is beneficial to this division of fragments.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28886</commentid>
    <comment_count>2</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2013-01-17 05:58:50 +0000</bug_when>
    <thetext>There&apos;s two parts to the implementation for this:

#1) standard-nocfg.cc is renamed standard-features.scc

commit 59019b76cbb2f5dcd6af9f292fb09862092e2fff
Author: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
Date:   Thu Jan 17 00:30:18 2013 -0500

    meta: rename standard-nocfg to standard-features
    
    standard-nocfg is not about having &quot;no configuration&quot;, it is about
    including features that modify the source tree and their tightly
    coupled configs. renaming the fragment to standard-features makes this
    separation clear.
    
    Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;

#1a) standard-features.scc is merged back into standard.scc (See below)

#2) the include modifier nocfg is added

When a .scc file is included with this modifier, only kernel patches and
other tree directives will be respected, no configuration fragments will
be processed. This allows us to dump the manual separation between features
and cfgs in a standard base, since they will always float over time. 
The design of .scc is to give control to the upper layer fragments, we are
giving it back with this change.

The only visible change to .scc files is in the inclusion of ktypes/standard/standard.scc.

The standard kernel includes standard-features.scc, while preempt-rt and
tiny include the standard kernel like this:

  include nocfg ktypes/standard/standard.scc

And we will get no configuration fragments that are directly included from
the standard kernel, hence why we should merge standard-features.scc back
into standard.scc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28887</commentid>
    <comment_count>3</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2013-01-17 06:00:03 +0000</bug_when>
    <thetext>Note: this also solves a problem in meta-handheld where this layer
currently contains a configuration fragment that &quot;undoes&quot; configuration
items it doesn&apos;t want. It will switch to this include style and no longer
have to maintain this fraagment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28920</commentid>
    <comment_count>4</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2013-01-17 22:31:02 +0000</bug_when>
    <thetext>Item #2 implementation is complete.  Testing for regressions now. Re-org of the .scc files
will be in two phases, with the second being the merge of standard-feature and standard.scc,
that is coupled with the tool tweaks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29857</commentid>
    <comment_count>5</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2013-02-15 15:09:24 +0000</bug_when>
    <thetext>LTSI is now merged into the 3.4 tree. It can be seen as the discrete &quot;ltsi&quot; branch, which
is also merged into each and every BSP. There&apos;s no explicit action required to &quot;use LTSI&quot;, 
you simply get it in each build. The features can be enabled via fragments as required, or
left latent.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29877</commentid>
    <comment_count>6</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2013-02-16 04:38:19 +0000</bug_when>
    <thetext>This was closed by mistake .. re-opening temporarily.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30251</commentid>
    <comment_count>7</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2013-02-28 14:11:08 +0000</bug_when>
    <thetext>Patches have been sent to the oe-core list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30838</commentid>
    <comment_count>8</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2013-03-19 12:55:34 +0000</bug_when>
    <thetext>commit 59019b76cbb2f5dcd6af9f292fb09862092e2fff
Author: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
Date:   Thu Jan 17 00:30:18 2013 -0500

    meta: rename standard-nocfg to standard-features
    
    standard-nocfg is not about having &quot;no configuration&quot;, it is about
    including features that modify the source tree and their tightly
    coupled configs. renaming the fragment to standard-features makes this
    separation clear.
    
    Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;

:000000 100644 0000000... 21becf9... A  ktypes/standard/standard-features.scc
:100644 000000 cc8a694... 0000000... D  ktypes/standard/standard-nocfg.scc
:100644 100644 7bfd3c2... ec302db... M  ktypes/standard/standard.scc

commit c4f26a3296e0e1c3dbdd5ec8e2947d5443a9ffc2
Author: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
Date:   Mon Jan 7 16:15:12 2013 -0500

    updateme/scc: allow config fragment exclusion
    
    It is common to need the features (patches, git operations) of a
    branch, but not want the kernel configuration fragments of a given
    branch. To allow this, we provide a new include flag &quot;nocfg&quot;.
    
    When this flag is used, all of the configuration fragments included
    by the targetted feature will not be applied to the current build,
    with one exception, a base/critical fragment can force it&apos;s config
    values, since without them, the system would not be functional.
    
    Example:
    
       include ktypes/standard/standard.scc nocfg
    
    Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;

:100755 100755 0de55a4... 60b54e5... M  tools/scc
:100755 100755 26a20d5... 99f9c40... M  tools/updateme</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>