Browse Source

kernel-dev: Fixed a few links throughout manual.

The areas were found scrubbing the mega-manual.  These were minor
fixes.

(From yocto-docs rev: aaa460be3f4a446c091d66a17ca6c010f335ccc4)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Scott Rifenbark 7 năm trước cách đây
mục cha
commit
cef8b0f10f

+ 13 - 14
documentation/kernel-dev/kernel-dev-advanced.xml

@@ -64,8 +64,7 @@
         <ulink url='&YOCTO_DOCS_REF_URL;#var-KMACHINE'><filename>KMACHINE</filename></ulink>
         <ulink url='&YOCTO_DOCS_REF_URL;#var-KMACHINE'><filename>KMACHINE</filename></ulink>
         variable.
         variable.
         This variable is typically set to the same value as the
         This variable is typically set to the same value as the
-        <ulink url='&YOCTO_DOCS_REF_URL;#var-MACHINE'><filename>MACHINE</filename></ulink>
-        variable, which is used by
+        <filename>MACHINE</filename> variable, which is used by
         <ulink url='&YOCTO_DOCS_REF_URL;#bitbake-term'>BitBake</ulink>.
         <ulink url='&YOCTO_DOCS_REF_URL;#bitbake-term'>BitBake</ulink>.
         However, in some cases, the variable might instead refer to the
         However, in some cases, the variable might instead refer to the
         underlying platform of the <filename>MACHINE</filename>.
         underlying platform of the <filename>MACHINE</filename>.
@@ -77,8 +76,7 @@
         Multiple Corei7-based BSPs could share the same "intel-corei7-64"
         Multiple Corei7-based BSPs could share the same "intel-corei7-64"
         value for <filename>KMACHINE</filename>.
         value for <filename>KMACHINE</filename>.
         It is important to realize that <filename>KMACHINE</filename> is
         It is important to realize that <filename>KMACHINE</filename> is
-        just for kernel mapping, while
-        <ulink url='&YOCTO_DOCS_REF_URL;#var-MACHINE'><filename>MACHINE</filename></ulink>
+        just for kernel mapping, while <filename>MACHINE</filename>
         is the machine type within a BSP Layer.
         is the machine type within a BSP Layer.
         Even with this distinction, however, these two variables can hold
         Even with this distinction, however, these two variables can hold
         the same value.
         the same value.
@@ -116,8 +114,7 @@
         used in assembling the configuration.
         used in assembling the configuration.
         If you do not specify a <filename>LINUX_KERNEL_TYPE</filename>,
         If you do not specify a <filename>LINUX_KERNEL_TYPE</filename>,
         it defaults to "standard".
         it defaults to "standard".
-        Together with
-        <ulink url='&YOCTO_DOCS_REF_URL;#var-KMACHINE'><filename>KMACHINE</filename></ulink>,
+        Together with <filename>KMACHINE</filename>,
         <filename>LINUX_KERNEL_TYPE</filename> defines the search
         <filename>LINUX_KERNEL_TYPE</filename> defines the search
         arguments used by the kernel tools to find the
         arguments used by the kernel tools to find the
         appropriate description within the kernel Metadata with which to
         appropriate description within the kernel Metadata with which to
@@ -644,8 +641,7 @@
             aggregation concepts, and presents a detailed example using
             aggregation concepts, and presents a detailed example using
             a BSP supported by the Yocto Project (i.e. BeagleBone Board).
             a BSP supported by the Yocto Project (i.e. BeagleBone Board).
             For complete information on BSP layer file hierarchy, see the
             For complete information on BSP layer file hierarchy, see the
-            <ulink url='&YOCTO_DOCS_BSP_URL;'>Yocto Project Board Support
-            Package (BSP) Developer's Guide</ulink>.
+            <ulink url='&YOCTO_DOCS_BSP_URL;'>Yocto Project Board Support Package (BSP) Developer's Guide</ulink>.
         </para>
         </para>
 
 
         <section id='bsp-description-file-overview'>
         <section id='bsp-description-file-overview'>
@@ -856,7 +852,7 @@
 
 
             <para>
             <para>
                 Now consider the "minnow" description for the "tiny" kernel
                 Now consider the "minnow" description for the "tiny" kernel
-                type (i.e. <filename>minnow-tiny.scc</filename>:
+                type (i.e. <filename>minnow-tiny.scc</filename>):
                 <literallayout class='monospaced'>
                 <literallayout class='monospaced'>
         define KMACHINE minnow
         define KMACHINE minnow
         define KTYPE tiny
         define KTYPE tiny
@@ -1018,8 +1014,7 @@
 
 
         <para>
         <para>
             If you modify the Metadata, you must not forget to update the
             If you modify the Metadata, you must not forget to update the
-            <ulink url='&YOCTO_DOCS_REF_URL;#var-SRCREV'><filename>SRCREV</filename></ulink>
-            statements in the kernel's recipe.
+            <filename>SRCREV</filename> statements in the kernel's recipe.
             In particular, you need to update the
             In particular, you need to update the
             <filename>SRCREV_meta</filename> variable to match the commit in
             <filename>SRCREV_meta</filename> variable to match the commit in
             the <filename>KMETA</filename> branch you wish to use.
             the <filename>KMETA</filename> branch you wish to use.
@@ -1227,9 +1222,13 @@
                 </para></listitem>
                 </para></listitem>
             <listitem><para>
             <listitem><para>
                 <filename>define</filename>:
                 <filename>define</filename>:
-                Defines variables, such as <filename>KMACHINE</filename>,
-                <filename>KTYPE</filename>, <filename>KARCH</filename>,
-                and <filename>KFEATURE_DESCRIPTION</filename>.</para></listitem>
+                Defines variables, such as
+                <ulink url='&YOCTO_DOCS_REF_URL;#var-KMACHINE'><filename>KMACHINE</filename></ulink>,
+                <ulink url='&YOCTO_DOCS_REF_URL;#var-KTYPE'><filename>KTYPE</filename></ulink>,
+                <ulink url='&YOCTO_DOCS_REF_URL;#var-KARCH'><filename>KARCH</filename></ulink>,
+                and
+                <ulink url='&YOCTO_DOCS_REF_URL;#var-KFEATURE_DESCRIPTION'><filename>KFEATURE_DESCRIPTION</filename></ulink>.
+                </para></listitem>
             <listitem><para>
             <listitem><para>
                 <filename>include SCC_FILE</filename>:
                 <filename>include SCC_FILE</filename>:
                 Includes an SCC file in the current file.
                 Includes an SCC file in the current file.

+ 2 - 2
documentation/kernel-dev/kernel-dev-maint-appx.xml

@@ -14,7 +14,7 @@
             create Yocto Linux kernel repositories.
             create Yocto Linux kernel repositories.
             These kernel repositories are found under the heading "Yocto Linux
             These kernel repositories are found under the heading "Yocto Linux
             Kernel" at
             Kernel" at
-            <ulink url='&YOCTO_GIT_URL;/cgit.cgi'>&YOCTO_GIT_URL;/cgit.cgi</ulink>
+            <ulink url='&YOCTO_GIT_URL;'>&YOCTO_GIT_URL;</ulink>
             and are shipped as part of a Yocto Project release.
             and are shipped as part of a Yocto Project release.
             The team creates these repositories by compiling and executing the
             The team creates these repositories by compiling and executing the
             set of feature descriptions for every BSP and feature in the
             set of feature descriptions for every BSP and feature in the
@@ -118,7 +118,7 @@
             The following steps describe what happens when the Yocto Project
             The following steps describe what happens when the Yocto Project
             Team constructs the Yocto Project kernel source Git repository
             Team constructs the Yocto Project kernel source Git repository
             (or tree) found at
             (or tree) found at
-            <ulink url='&YOCTO_GIT_URL;/cgit.cgi'></ulink> given the
+            <ulink url='&YOCTO_GIT_URL;'></ulink> given the
             introduction of a new top-level kernel feature or BSP.
             introduction of a new top-level kernel feature or BSP.
             The following actions effectively provide the Metadata
             The following actions effectively provide the Metadata
             and create the tree that includes the new feature, patch, or BSP:
             and create the tree that includes the new feature, patch, or BSP: