summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuentin Schulz <foss@0leil.net>2020-10-26 18:50:28 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-10-27 13:23:00 +0000
commit4dc272c4b9dc231af589af1f0b99c83bcaccabf5 (patch)
tree89d60ab1f4363ccb0430e59991baf6a8e4448e15
parent08d7d5c2433c9f54567c558e551771a3d08e272f (diff)
downloadpoky-4dc272c4b9dc231af589af1f0b99c83bcaccabf5.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: 0858e86ed8e3e3005207980041fe4f2117750663) Signed-off-by: Quentin Schulz <foss@0leil.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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