diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2012-12-27 12:28:58 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-16 15:59:11 +0000 |
commit | 1fa2beffa185438ed0f3c1133bf1304b914c6ca0 (patch) | |
tree | fc7891e475b1d64702b25e12c69a499f81925649 /documentation/kernel-dev/kernel-dev-advanced.xml | |
parent | cc07a5e350aaf622d8f1ea87fa29c32d03288112 (diff) | |
download | poky-1fa2beffa185438ed0f3c1133bf1304b914c6ca0.tar.gz |
kernel-dev: Formatted the "Patches" section.
(From yocto-docs rev: e7de7e806d4cd02e4b5c8cb1ac237809bef5144e)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/kernel-dev/kernel-dev-advanced.xml')
-rw-r--r-- | documentation/kernel-dev/kernel-dev-advanced.xml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/documentation/kernel-dev/kernel-dev-advanced.xml b/documentation/kernel-dev/kernel-dev-advanced.xml index 8a036a7d2d..c669357477 100644 --- a/documentation/kernel-dev/kernel-dev-advanced.xml +++ b/documentation/kernel-dev/kernel-dev-advanced.xml | |||
@@ -762,6 +762,50 @@ The description file can include multiple kconf statements, one per fragment. | |||
762 | </para> | 762 | </para> |
763 | </section> | 763 | </section> |
764 | 764 | ||
765 | <section id='patches'> | ||
766 | <title>Patches</title> | ||
767 | |||
768 | <para> | ||
769 | Patches are described in a very similar way to configuration | ||
770 | fragments, which are described in the previous section. | ||
771 | Instead of a <filename>.cfg</filename> file, they work with | ||
772 | source patches. | ||
773 | A typical patch includes a description file and the patch itself: | ||
774 | <literallayout class='monospaced'> | ||
775 | patches/mypatch.scc: | ||
776 | patch mypatch.patch | ||
777 | |||
778 | patches/mypatch.patch: | ||
779 | <typical-patch> | ||
780 | </literallayout> | ||
781 | For <filename>.patch</filename> files, the typical patch | ||
782 | is created with <filename>diff -Nurp</filename> or | ||
783 | <filename>git format-patch</filename>. | ||
784 | </para> | ||
785 | |||
786 | <para> | ||
787 | The description file can include multiple patch statements, | ||
788 | one per patch. | ||
789 | </para> | ||
790 | |||
791 | <para> | ||
792 | Original text: | ||
793 | <literallayout class='monospaced'> | ||
794 | Patches are described in a very similar way to configuration fragments (see | ||
795 | 3.3.1). Instead of a .cfg file, they work with source patches. A typical patch | ||
796 | includes a description file and the patch itself: | ||
797 | |||
798 | patches/mypatch.scc: | ||
799 | patch mypatch.patch | ||
800 | |||
801 | patches/mypatch.patch: | ||
802 | <typical patch created with 'diff -Nurp' or 'git format-patch'> | ||
803 | |||
804 | The description file can include multiple patch statements, one per patch. | ||
805 | </literallayout> | ||
806 | </para> | ||
807 | </section> | ||
808 | |||
765 | 809 | ||
766 | 810 | ||
767 | 811 | ||