summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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