summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlrich Ölmann <u.oelmann@pengutronix.de>2023-02-13 15:35:55 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-02-24 15:43:24 +0000
commiteff66f126ca24cd35bc92aeee6ca64fcf95b997e (patch)
tree4de2c2e9a91f6a62551136a600847ba8ef704a80
parent584a913d756ebe7f4522167446ca1a7463a101af (diff)
downloadpoky-eff66f126ca24cd35bc92aeee6ca64fcf95b997e.tar.gz
kernel-dev,ref-manual: fix old override syntax
Additionally use more common syntax to indicate that an actual machine name is supposed to be filled in for a concrete use case as has been suggested by Peter Kjellerstedt (and particularly no KMACHINE). Furthermore add missing quotes in the reference manual. Suggested-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> (From yocto-docs rev: b66c035970f860b65cf712285f2d5a023620e6c3) Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Reviewed-by: Quentin Schulz <foss+yocto@0leil.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--documentation/kernel-dev/common.rst2
-rw-r--r--documentation/ref-manual/variables.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/documentation/kernel-dev/common.rst b/documentation/kernel-dev/common.rst
index dff8f504fd..3c8e0b74e9 100644
--- a/documentation/kernel-dev/common.rst
+++ b/documentation/kernel-dev/common.rst
@@ -649,7 +649,7 @@ append files, you can direct the OpenEmbedded build system to use a
649To specify an "in-tree" ``defconfig`` file, use the following statement 649To specify an "in-tree" ``defconfig`` file, use the following statement
650form:: 650form::
651 651
652 KBUILD_DEFCONFIG_KMACHINE ?= "defconfig_file" 652 KBUILD_DEFCONFIG:<machine> ?= "defconfig_file"
653 653
654Here is an example 654Here is an example
655that assigns the :term:`KBUILD_DEFCONFIG` variable based on "raspberrypi2" 655that assigns the :term:`KBUILD_DEFCONFIG` variable based on "raspberrypi2"
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index a36c4c6df9..54da54f71d 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -4275,7 +4275,7 @@ system and gives an overview of their function and contents.
4275 To use the variable, set it in the append file for your kernel recipe 4275 To use the variable, set it in the append file for your kernel recipe
4276 using the following form:: 4276 using the following form::
4277 4277
4278 KBUILD_DEFCONFIG_KMACHINE ?= defconfig_file 4278 KBUILD_DEFCONFIG:<machine> ?= "defconfig_file"
4279 4279
4280 Here is an example from a "raspberrypi2" :term:`KMACHINE` build that uses 4280 Here is an example from a "raspberrypi2" :term:`KMACHINE` build that uses
4281 a ``defconfig`` file named "bcm2709_defconfig":: 4281 a ``defconfig`` file named "bcm2709_defconfig"::