summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorQuentin Schulz <foss@0leil.net>2020-10-26 18:50:28 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-01-04 10:55:02 +0000
commit494492a893cb40fedc81e32b813c38407e7fe0bd (patch)
treea6a30780a8f3896a7686bd4544be4c261677079d /documentation
parentc05ff1dc60b9013b00c741907a62235440c531bf (diff)
downloadpoky-494492a893cb40fedc81e32b813c38407e7fe0bd.tar.gz
docs: kernel-dev-common: add .patch file extension to SRC_URI files
Patches provided in SRC_URI are only applied if their extension is .diff or .patch. The examples do not use those extensions and would probably result in user confusion as to why the patches aren't being applied to the sources. Let's fix this by giving them a .patch file extension. (From yocto-docs rev: 80a01f141b3f09f42b53f3ef4d380fba6551fe90) Signed-off-by: Quentin Schulz <foss@0leil.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 0858e86ed8e3e3005207980041fe4f2117750663) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/kernel-dev/kernel-dev-common.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/documentation/kernel-dev/kernel-dev-common.rst b/documentation/kernel-dev/kernel-dev-common.rst
index 370acf1388..830b3e88ca 100644
--- a/documentation/kernel-dev/kernel-dev-common.rst
+++ b/documentation/kernel-dev/kernel-dev-common.rst
@@ -436,9 +436,9 @@ home directory:
436 436
437 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 437 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
438 438
439 SRC_URI_append = " file://patch-file-one" 439 SRC_URI_append = " file://patch-file-one.patch"
440 SRC_URI_append = " file://patch-file-two" 440 SRC_URI_append = " file://patch-file-two.patch"
441 SRC_URI_append = " file://patch-file-three" 441 SRC_URI_append = " file://patch-file-three.patch"
442 442
443 The :term:`FILESEXTRAPATHS` and :term:`SRC_URI` statements 443 The :term:`FILESEXTRAPATHS` and :term:`SRC_URI` statements
444 enable the OpenEmbedded build system to find patch files. For more 444 enable the OpenEmbedded build system to find patch files. For more