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>
This commit is contained in:
Quentin Schulz
2020-10-26 18:50:28 +01:00
committed by Richard Purdie
parent 08d7d5c243
commit 4dc272c4b9

View File

@@ -436,9 +436,9 @@ home directory:
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI_append = " file://patch-file-one"
SRC_URI_append = " file://patch-file-two"
SRC_URI_append = " file://patch-file-three"
SRC_URI_append = " file://patch-file-one.patch"
SRC_URI_append = " file://patch-file-two.patch"
SRC_URI_append = " file://patch-file-three.patch"
The :term:`FILESEXTRAPATHS` and :term:`SRC_URI` statements
enable the OpenEmbedded build system to find patch files. For more