Skip to contentSkip to conversation

ref-manual: Correct the requirements for KERNEL_DEVICETREE

PATCH In review Adrian Bunk 2 participants 2 messages Aug 23, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ref-manual: Correct the requirements for KERNEL_DEVICETREE

---
 documentation/ref-manual/ref-variables.xml | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)
documentation/ref-manual/ref-variables.xml +3 -9
index 0080364e4f..33afaa5f45 100644
@@ -7580,15 +7580,9 @@
                         However, providing just the <filename>.dtb</filename>
                         file is preferred.
                     </note>
-                    In order to use this variable, you must have the include
-                    files in your kernel recipe:
-                    <literallayout class='monospaced'>
-     require recipes-kernel/linux/linux-dtb.inc
-                    </literallayout>
-                    or
-                    <literallayout class='monospaced'>
-     require recipes-kernel/linux/linux-yocto.inc
-                    </literallayout>
+                    In order to use this variable, the
+                    <link linkend='ref-classes-kernel-devicetree'><filename>kernel-devicetree</filename></link>
+                    class must be inherited.
                 </para>
             </glossdef>
         </glossentry>
Signature · 1 line
2.17.1
#1 lore raw

Adrian,

Thanks for the update to the KERNEL_DEVICETREE variable. I have applied this patch to the 2.8 version of the reference manual:
https://yoctoproject.org/docs/2.8/ref-manual/ref-manual.html#var-KERNEL_DEVICETREE
.

Scott

Quoted 36 lines · Adrian Bunk
---
 documentation/ref-manual/ref-variables.xml | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)
documentation/ref-manual/ref-variables.xml +0 -0
index 0080364e4f..33afaa5f45 100644
@@ -7580,15 +7580,9 @@
                         However, providing just the

<filename>.dtb</filename>
file is preferred.
</note>
- In order to use this variable, you must have the
include

documentation/ref-manual/ref-variables.xml +2 -8
-                    files in your kernel recipe:
-                    <literallayout class='monospaced'>
-     require recipes-kernel/linux/linux-dtb.inc
-                    </literallayout>
-                    or
-                    <literallayout class='monospaced'>
-     require recipes-kernel/linux/linux-yocto.inc
-                    </literallayout>
+                    In order to use this variable, the
+                    <link

linkend='ref-classes-kernel-devicetree'><filename>kernel-devicetree</filename></link>
+ class must be inherited.

                 </para>
             </glossdef>
         </glossentry>

--
2.17.1