summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
Diffstat (limited to 'documentation')
-rw-r--r--documentation/dev-manual/dev-manual-common-tasks.xml8
-rw-r--r--documentation/dev-manual/dev-manual-model.xml8
2 files changed, 8 insertions, 8 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml
index df64e1124e..2f73e28829 100644
--- a/documentation/dev-manual/dev-manual-common-tasks.xml
+++ b/documentation/dev-manual/dev-manual-common-tasks.xml
@@ -1726,10 +1726,10 @@
1726 </literallayout></para></listitem> 1726 </literallayout></para></listitem>
1727 <listitem><para><emphasis>Generate the patch file</emphasis>: 1727 <listitem><para><emphasis>Generate the patch file</emphasis>:
1728 This Git command creates the a patch file named 1728 This Git command creates the a patch file named
1729 <filename>0001-calibrate: Add printk example.patch</filename> 1729 <filename>0001-calibrate-Add-printk-example.patch</filename>
1730 in the current directory. 1730 in the current directory.
1731 <literallayout class='monospaced'> 1731 <literallayout class='monospaced'>
1732 $ git format-patch HEAD~1 1732 $ git format-patch -1
1733 </literallayout> 1733 </literallayout>
1734 </para></listitem> 1734 </para></listitem>
1735 </orderedlist> 1735 </orderedlist>
@@ -1776,7 +1776,7 @@
1776 <literallayout class='monospaced'> 1776 <literallayout class='monospaced'>
1777 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 1777 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
1778 1778
1779 SRC_URI += "file://0001-calibrate: Add printk example.patch" 1779 SRC_URI += "file://0001-calibrate-Add-printk-example.patch"
1780 1780
1781 PRINC := "${@int(PRINC) + 1}" 1781 PRINC := "${@int(PRINC) + 1}"
1782 </literallayout> 1782 </literallayout>
@@ -1784,7 +1784,7 @@
1784 statements enable the OpenEmbedded build system to find the patch file. 1784 statements enable the OpenEmbedded build system to find the patch file.
1785 </para></listitem> 1785 </para></listitem>
1786 <listitem><para><emphasis>Put the patch file in your layer</emphasis>: 1786 <listitem><para><emphasis>Put the patch file in your layer</emphasis>:
1787 Move the <filename>0001-calibrate: Add printk example.patch</filename> file to 1787 Move the <filename>0001-calibrate-Add-printk-example.patch</filename> file to
1788 the <filename>meta-mylayer/recipes-kernel/linux/linux-yocto</filename> 1788 the <filename>meta-mylayer/recipes-kernel/linux/linux-yocto</filename>
1789 directory.</para></listitem> 1789 directory.</para></listitem>
1790 </orderedlist> 1790 </orderedlist>
diff --git a/documentation/dev-manual/dev-manual-model.xml b/documentation/dev-manual/dev-manual-model.xml
index 669623bc7f..4452d2a4e2 100644
--- a/documentation/dev-manual/dev-manual-model.xml
+++ b/documentation/dev-manual/dev-manual-model.xml
@@ -1705,7 +1705,7 @@ directory.</para></listitem>
1705 <literallayout class='monospaced'> 1705 <literallayout class='monospaced'>
1706 $ git init 1706 $ git init
1707 $ git add * 1707 $ git add *
1708 $ git commit 1708 $ git commit -m "initial revision"
1709 </literallayout> 1709 </literallayout>
1710 The above Git commands initialize a Git repository that is based on the 1710 The above Git commands initialize a Git repository that is based on the
1711 files in your current working directory, stage all the files, and commit 1711 files in your current working directory, stage all the files, and commit
@@ -1762,9 +1762,9 @@ directory.</para></listitem>
1762 Once the changes are committed, use the <filename>git format-patch</filename> 1762 Once the changes are committed, use the <filename>git format-patch</filename>
1763 command to generate a patch file: 1763 command to generate a patch file:
1764 <literallayout class='monospaced'> 1764 <literallayout class='monospaced'>
1765 $ git format-patch HEAD~1 1765 $ git format-patch -1
1766 </literallayout> 1766 </literallayout>
1767 The <filename>HEAD~1</filename> part of the command causes Git to generate the 1767 Specifying "-1" causes Git to generate the
1768 patch file for the most recent commit.</para> 1768 patch file for the most recent commit.</para>
1769 <para>At this point, the patch file has all your edits made 1769 <para>At this point, the patch file has all your edits made
1770 to the <filename>file1.c</filename>, <filename>file2.c</filename>, and 1770 to the <filename>file1.c</filename>, <filename>file2.c</filename>, and
@@ -1784,7 +1784,7 @@ directory.</para></listitem>
1784 of the recipe. 1784 of the recipe.
1785 Here is an example: 1785 Here is an example:
1786 <literallayout class='monospaced'> 1786 <literallayout class='monospaced'>
1787 SRC_URI += "file://my_changes.patch" 1787 SRC_URI += "file://0001-&lt;commit-summary-message&gt;.patch"
1788 </literallayout></para></listitem> 1788 </literallayout></para></listitem>
1789 <listitem><para><emphasis>Increment the Recipe Revision Number:</emphasis> 1789 <listitem><para><emphasis>Increment the Recipe Revision Number:</emphasis>
1790 Finally, don't forget to 'bump' the 1790 Finally, don't forget to 'bump' the