Skip to contentSkip to conversation

Documentation: KERNEL_FEATURES should refer to .scc files.

PATCH In review Robert P. J. Day 2 participants 2 messages Mar 4, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: KERNEL_FEATURES should refer to .scc files.

Tweak a number of doc lines so that the KERNEL_FEATURES variable refers directly to .scc files, and doesn't take advantage of potentially confusing shortcuts.

---

documentation/bsp-guide/bsp.xml +1 -1
index abab3f4..06b6f22 100644
@@ -589,7 +589,7 @@
      COMPATIBLE_MACHINE_emenlow-noemgd = "emenlow-noemgd"
      KMACHINE_emenlow-noemgd = "emenlow"
      KBRANCH_emenlow-noemgd = "standard/base"
-     KERNEL_FEATURES_append_emenlow-noemgd = " features/drm-gma500/drm-gma500"
+     KERNEL_FEATURES_append_emenlow-noemgd = " features/drm-gma500/drm-gma500.scc"
 
      LINUX_VERSION_emenlow-noemgd = "3.14.19"
      SRCREV_machine_emenlow-noemgd = "902f34d36102a4b2008b776ecae686f80d307e12"
documentation/kernel-dev/kernel-dev-advanced.xml +2 -2
index c0d8ca6..8af926c 100644
@@ -136,12 +136,12 @@
         For example, to include a feature specified as "features/netfilter.scc",
         specify:
         <literallayout class='monospaced'>
-     KERNEL_FEATURES += "features/netfilter.scc"
+     KERNEL_FEATURES += "features/netfilter/netfilter.scc"
         </literallayout>
         To include a feature called "cfg/sound.scc" just for the
         <filename>qemux86</filename> machine, specify:
         <literallayout class='monospaced'>
-     KERNEL_FEATURES_append_qemux86 = "cfg/sound.scc"
+     KERNEL_FEATURES_append_qemux86 = " cfg/sound.scc"
         </literallayout>
         The value of the entries in <filename>KERNEL_FEATURES</filename>
         are dependent on their location within the kernel Metadata itself.
documentation/ref-manual/ref-variables.xml +3 -3
index 7122b47..1135728 100644
@@ -5792,7 +5792,7 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
      COMPATIBLE_MACHINE_emenlow-noemgd = "emenlow-noemgd"
      KMACHINE_emenlow-noemgd = "emenlow"
      KBRANCH_emenlow-noemgd = "standard/base"
-     KERNEL_FEATURES_append_emenlow-noemgd = " features/drm-gma500/drm-gma500"
+     KERNEL_FEATURES_append_emenlow-noemgd = " features/drm-gma500/drm-gma500.scc"
                     </literallayout>
                         The <filename>KBRANCH</filename> statement identifies
                         the kernel branch to use when building for the Emenlow
@@ -5846,10 +5846,10 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
                     machine:
                     <literallayout class='monospaced'>
      # Add netfilter to all linux-yocto kernels
-     KERNEL_FEATURES="features/netfilter"
+     KERNEL_FEATURES="features/netfilter/netfilter.scc"
 
      # Add sound support to the qemux86 machine
-     KERNEL_FEATURES_append_qemux86=" cfg/sound"
+     KERNEL_FEATURES_append_qemux86=" cfg/sound.scc"
                     </literallayout></para>
             </glossdef>
         </glossentry>
Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw

Applied - thanks.

Quoted 101 lines

-----Original Message-----
From: [email protected] [mailto:yocto- [email protected]] On Behalf Of Robert P. J. Day
Sent: Wednesday, March 04, 2015 12:18 AM
To: Yocto discussion list
Subject: [yocto] [PATCH] Documentation: KERNEL_FEATURES should refer to .scc files.

Tweak a number of doc lines so that the KERNEL_FEATURES variable refers directly to .scc files, and doesn't take advantage of potentially confusing shortcuts.

---

documentation/bsp- renamed from documentation/bsp-guide/bsp.xml +0 -0

guide/bsp.xml index abab3f4..06b6f22 100644

documentation/bsp-guide/bsp.xml +0 -1
@@ -589,7 +589,7 @@
     COMPATIBLE_MACHINE_emenlow-noemgd = "emenlow-noemgd"
     KMACHINE_emenlow-noemgd = "emenlow"
     KBRANCH_emenlow-noemgd = "standard/base"
-     KERNEL_FEATURES_append_emenlow-noemgd = " features/drm-

gma500/drm-gma500"
+ KERNEL_FEATURES_append_emenlow-noemgd = " features/drm-
gma500/drm-gma500.scc"

     LINUX_VERSION_emenlow-noemgd = "3.14.19"
     SRCREV_machine_emenlow-noemgd =

"902f34d36102a4b2008b776ecae686f80d307e12"

documentation/kernel-dev/kernel-dev-advanced.xml +2 -2
index c0d8ca6..8af926c 100644
@@ -136,12 +136,12 @@
        For example, to include a feature specified as "features/netfilter.scc",
        specify:
        <literallayout class='monospaced'>
-     KERNEL_FEATURES += "features/netfilter.scc"
+     KERNEL_FEATURES += "features/netfilter/netfilter.scc"
        </literallayout>
        To include a feature called "cfg/sound.scc" just for the
        <filename>qemux86</filename> machine, specify:
        <literallayout class='monospaced'>
-     KERNEL_FEATURES_append_qemux86 = "cfg/sound.scc"
+     KERNEL_FEATURES_append_qemux86 = " cfg/sound.scc"
        </literallayout>
        The value of the entries in <filename>KERNEL_FEATURES</filename>
        are dependent on their location within the kernel Metadata itself.
documentation/ref-manual/ref-variables.xml +0 -0
index 7122b47..1135728 100644
@@ -5792,7 +5792,7 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR =

"${INC_PR}.3"
COMPATIBLE_MACHINE_emenlow-noemgd = "emenlow-noemgd" KMACHINE_emenlow-noemgd = "emenlow"
KBRANCH_emenlow-noemgd = "standard/base"
- KERNEL_FEATURES_append_emenlow-noemgd = " features/drm-
gma500/drm-gma500"
+ KERNEL_FEATURES_append_emenlow-noemgd = " features/drm-
gma500/drm-gma500.scc"
</literallayout>
The <filename>KBRANCH</filename> statement identifies the kernel branch to use when building for the Emenlow @@ -
5846,10 +5846,10 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
machine:
<literallayout class='monospaced'>
# Add netfilter to all linux-yocto kernels

documentation/ref-manual/ref-variables.xml +2 -3
-     KERNEL_FEATURES="features/netfilter"
+     KERNEL_FEATURES="features/netfilter/netfilter.scc"
 
     # Add sound support to the qemux86 machine
-     KERNEL_FEATURES_append_qemux86=" cfg/sound"
+     KERNEL_FEATURES_append_qemux86=" cfg/sound.scc"
                    </literallayout></para>
            </glossdef>
        </glossentry>
 
--

===========================================================
=============
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday

===========================================================
=============
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto