kernel-dev,ref-manual: fix old override syntax
PATCH 1/3 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.
--- documentation/kernel-dev/common.rst | 2 +- documentation/ref-manual/variables.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
documentation/kernel-dev/common.rst +1 -1
@@ -649,7 +649,7 @@ append files, you can direct the OpenEmbedded build system to use a To specify an "in-tree" ``defconfig`` file, use the following statement form:: - KBUILD_DEFCONFIG_KMACHINE ?= "defconfig_file" + KBUILD_DEFCONFIG:<machine> ?= "defconfig_file" Here is an example that assigns the :term:`KBUILD_DEFCONFIG` variable based on "raspberrypi2"
documentation/ref-manual/variables.rst +1 -1
@@ -4275,7 +4275,7 @@ system and gives an overview of their function and contents. To use the variable, set it in the append file for your kernel recipe using the following form:: - KBUILD_DEFCONFIG_KMACHINE ?= defconfig_file + KBUILD_DEFCONFIG:<machine> ?= "defconfig_file" Here is an example from a "raspberrypi2" :term:`KMACHINE` build that uses a ``defconfig`` file named "bcm2709_defconfig"::
Signature · 1 line
2.30.2
PATCH 2/3 ref-manual: refer to MACHINE variable instead of KMACHINE
Although in the example case of a "raspberrypi2" the variable KMACHINE has the same value as MACHINE, only the latter is an allowed override. So do not set the reader on the wrong track.
--- documentation/ref-manual/variables.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
documentation/ref-manual/variables.rst +1 -1
@@ -4277,7 +4277,7 @@ system and gives an overview of their function and contents. KBUILD_DEFCONFIG:<machine> ?= "defconfig_file" - Here is an example from a "raspberrypi2" :term:`KMACHINE` build that uses + Here is an example from a "raspberrypi2" :term:`MACHINE` build that uses a ``defconfig`` file named "bcm2709_defconfig":: KBUILD_DEFCONFIG:raspberrypi2 = "bcm2709_defconfig"
Signature · 1 line
2.30.2
PATCH 3/3 kernel-dev: harmonize example with ref-manual
In reply to Ulrich Ölmann--- documentation/kernel-dev/common.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
documentation/kernel-dev/common.rst +4 -4
@@ -651,10 +651,10 @@ form:: KBUILD_DEFCONFIG:<machine> ?= "defconfig_file" -Here is an example -that assigns the :term:`KBUILD_DEFCONFIG` variable based on "raspberrypi2" -and provides the path to the "in-tree" ``defconfig`` file to be used for -a Raspberry Pi 2, which is based on the Broadcom 2708/2709 chipset:: +Here is an example that assigns the :term:`KBUILD_DEFCONFIG` variable utilizing +an override for the "raspberrypi2" :term:`MACHINE` and provides the path to the +"in-tree" ``defconfig`` file to be used for a Raspberry Pi 2, which is based on +the Broadcom 2708/2709 chipset:: KBUILD_DEFCONFIG:raspberrypi2 ?= "bcm2709_defconfig"
Signature · 1 line
2.30.2
Hi Ulrich,
Thanks for the patches.
For the whole series:
Cheers,
Quentin
Quoted 38 lines · Ulrich Ölmann
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 <[email protected]>Signed-off-by Ulrich Ölmann <[email protected]>--- documentation/kernel-dev/common.rst | 2 +- documentation/ref-manual/variables.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)documentation/kernel-dev/common.rst +1
-1@@ -649,7 +649,7 @@ append files, you can direct the OpenEmbedded build system to use a To specify an "in-tree" ``defconfig`` file, use the following statement form:: - KBUILD_DEFCONFIG_KMACHINE ?= "defconfig_file" + KBUILD_DEFCONFIG:<machine> ?= "defconfig_file" Here is an example that assigns the :term:`KBUILD_DEFCONFIG` variable based on "raspberrypi2"documentation/ref-manual/variables.rst +1
-1@@ -4275,7 +4275,7 @@ system and gives an overview of their function and contents. To use the variable, set it in the append file for your kernel recipe using the following form:: - KBUILD_DEFCONFIG_KMACHINE ?= defconfig_file + KBUILD_DEFCONFIG:<machine> ?= "defconfig_file" Here is an example from a "raspberrypi2" :term:`KMACHINE` build that uses a ``defconfig`` file named "bcm2709_defconfig"::
Ulrich,
Many thanks for the patches!
Quentin, Peter,
Thanks for the reviews!
Quoted 6 lines · Quentin Schulz via lists.yoctoproject.org
Hi Ulrich,
Thanks for the patches.
For the whole series:
Reviewed-by Quentin Schulz <[email protected]>
Merged into "master-next".
Never too late for further comments, if any, of course. Thanks again
Michael.
Signature · 3 lines
Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com