summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorscott-lenovo <scott-lenovo@ubuntu.(none)>2013-01-08 09:43:30 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-16 15:59:16 +0000
commit472d58a06ec98f356ac18447e3f565b5cd1b5ca7 (patch)
tree88acbbb8627110a0ba8aa2ffed80709377143e22 /documentation
parent76f1ffe77a4646df01f67010f89ea4b5cd166e0c (diff)
downloadpoky-472d58a06ec98f356ac18447e3f565b5cd1b5ca7.tar.gz
kernel-dev: First re-write of the "Patches" section.
(From yocto-docs rev: 64e2b623e040efeefdef572024c867a57a883f24) Signed-off-by: scott-lenovo <scott-lenovo@ubuntu.(none)> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/kernel-dev/kernel-dev-advanced.xml15
1 files changed, 9 insertions, 6 deletions
diff --git a/documentation/kernel-dev/kernel-dev-advanced.xml b/documentation/kernel-dev/kernel-dev-advanced.xml
index 7d82b54f65..12d3d7c8ec 100644
--- a/documentation/kernel-dev/kernel-dev-advanced.xml
+++ b/documentation/kernel-dev/kernel-dev-advanced.xml
@@ -802,10 +802,13 @@ The description file can include multiple kconf statements, one per fragment.
802 <title>Patches</title> 802 <title>Patches</title>
803 803
804 <para> 804 <para>
805 Patches are described in a very similar way to configuration 805 Patch descriptions are very similar to configuration fragment
806 fragments, which are described in the previous section. 806 descriptions, which are described in the previous section.
807 Instead of a <filename>.cfg</filename> file, they work with 807 However, instead of a <filename>.cfg</filename> file, these
808 source patches. 808 descriptions work with source patches.
809 </para>
810
811 <para>
809 A typical patch includes a description file and the patch itself: 812 A typical patch includes a description file and the patch itself:
810 <literallayout class='monospaced'> 813 <literallayout class='monospaced'>
811 patches/mypatch.scc: 814 patches/mypatch.scc:
@@ -814,8 +817,8 @@ The description file can include multiple kconf statements, one per fragment.
814 patches/mypatch.patch: 817 patches/mypatch.patch:
815 &lt;typical-patch&gt; 818 &lt;typical-patch&gt;
816 </literallayout> 819 </literallayout>
817 For <filename>.patch</filename> files, the typical patch 820 You can create the typical <filename>.patch</filename>
818 is created with <filename>diff -Nurp</filename> or 821 file using <filename>diff -Nurp</filename> or
819 <filename>git format-patch</filename>. 822 <filename>git format-patch</filename>.
820 </para> 823 </para>
821 824