mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 03:49:32 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
76f1ffe77a
commit
472d58a06e
@@ -802,10 +802,13 @@ The description file can include multiple kconf statements, one per fragment.
|
|||||||
<title>Patches</title>
|
<title>Patches</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Patches are described in a very similar way to configuration
|
Patch descriptions are very similar to configuration fragment
|
||||||
fragments, which are described in the previous section.
|
descriptions, which are described in the previous section.
|
||||||
Instead of a <filename>.cfg</filename> file, they work with
|
However, instead of a <filename>.cfg</filename> file, these
|
||||||
source patches.
|
descriptions work with source patches.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
A typical patch includes a description file and the patch itself:
|
A typical patch includes a description file and the patch itself:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
patches/mypatch.scc:
|
patches/mypatch.scc:
|
||||||
@@ -814,8 +817,8 @@ The description file can include multiple kconf statements, one per fragment.
|
|||||||
patches/mypatch.patch:
|
patches/mypatch.patch:
|
||||||
<typical-patch>
|
<typical-patch>
|
||||||
</literallayout>
|
</literallayout>
|
||||||
For <filename>.patch</filename> files, the typical patch
|
You can create the typical <filename>.patch</filename>
|
||||||
is created with <filename>diff -Nurp</filename> or
|
file using <filename>diff -Nurp</filename> or
|
||||||
<filename>git format-patch</filename>.
|
<filename>git format-patch</filename>.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user