From 1fa2beffa185438ed0f3c1133bf1304b914c6ca0 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 27 Dec 2012 12:28:58 -0600 Subject: kernel-dev: Formatted the "Patches" section. (From yocto-docs rev: e7de7e806d4cd02e4b5c8cb1ac237809bef5144e) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/kernel-dev/kernel-dev-advanced.xml | 44 ++++++++++++++++++++++++ 1 file changed, 44 insertions(+) (limited to 'documentation') 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. +
+ Patches + + + Patches are described in a very similar way to configuration + fragments, which are described in the previous section. + Instead of a .cfg file, they work with + source patches. + A typical patch includes a description file and the patch itself: + + patches/mypatch.scc: + patch mypatch.patch + + patches/mypatch.patch: + <typical-patch> + + For .patch files, the typical patch + is created with diff -Nurp or + git format-patch. + + + + The description file can include multiple patch statements, + one per patch. + + + + Original text: + +Patches are described in a very similar way to configuration fragments (see +3.3.1). Instead of a .cfg file, they work with source patches. A typical patch +includes a description file and the patch itself: + +patches/mypatch.scc: + patch mypatch.patch + +patches/mypatch.patch: + <typical patch created with 'diff -Nurp' or 'git format-patch'> + +The description file can include multiple patch statements, one per patch. + + +
+ -- cgit v1.2.3-54-g00ecf