ref-manual: document UBOOT_MAKE_OPTS

This variable was added by commit 3338330e0c46 ("u-boot: Add specifying
make options as part the config looping") in OE-Core. Document how to
use the option in UBOOT_CONFIG.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 0fc14dca55d3760491cc40ac8c136c9dbdd23dbb)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Antonin Godard 2025-10-27 13:43:47 +01:00 committed by Richard Purdie
parent 57a885f242
commit ea1481aa48
2 changed files with 12 additions and 2 deletions

View File

@ -3241,8 +3241,8 @@ There are two ways to configure the recipe for your machine:
- Using :term:`UBOOT_CONFIG` variable. For example::
UBOOT_CONFIG ??= "foo bar"
UBOOT_CONFIG[foo] = "config,images,binary"
UBOOT_CONFIG[bar] = "config2,images2,binary2"
UBOOT_CONFIG[foo] = "config,images,binary,makeopts"
UBOOT_CONFIG[bar] = "config2,images2,binary2,makeopts2"
In this example, all possible configurations are selected (``foo`` and
``bar``), but it is also possible to build only ``foo`` or ``bar`` by
@ -3280,6 +3280,10 @@ There are two ways to configure the recipe for your machine:
This option defaults to :term:`UBOOT_BINARY` if unset.
- ``makeopts``: the additional options passed to ``make`` when configuring
and compiling U-Boot for this configuration entry. The options in this
entry are added before the options in :term:`UBOOT_MAKE_OPTS`.
- Or, using the :term:`UBOOT_MACHINE` variable (and its companion variable
:term:`UBOOT_BINARY`). For example::

View File

@ -10906,6 +10906,12 @@ system and gives an overview of their function and contents.
Please see the "Selection of Processor Architecture and Board Type"
section in the U-Boot README for valid values for this variable.
:term:`UBOOT_MAKE_OPTS`
The :term:`UBOOT_MAKE_OPTS` variable can be used to pass extra options to
``make`` when U-Boot is configured and compiled.
See the :ref:`ref-classes-uboot-config` class for more information.
:term:`UBOOT_MAKE_TARGET`
Specifies the target called in the ``Makefile``. The default target
is "all".