diff options
| author | Antonin Godard <antonin.godard@bootlin.com> | 2025-10-27 13:43:47 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-29 23:16:34 +0000 |
| commit | ea1481aa48386f0a502dc7f5b1a82ba7f22885ae (patch) | |
| tree | eef5ab28c862eb1c62315b66963492f8d1910395 /documentation | |
| parent | 57a885f242f81a2c02353db95faacc89b499cbfa (diff) | |
| download | poky-ea1481aa48386f0a502dc7f5b1a82ba7f22885ae.tar.gz | |
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>
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/ref-manual/classes.rst | 8 | ||||
| -rw-r--r-- | documentation/ref-manual/variables.rst | 6 |
2 files changed, 12 insertions, 2 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index 2a69d2d59b..a56a2f7198 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst | |||
| @@ -3241,8 +3241,8 @@ There are two ways to configure the recipe for your machine: | |||
| 3241 | - Using :term:`UBOOT_CONFIG` variable. For example:: | 3241 | - Using :term:`UBOOT_CONFIG` variable. For example:: |
| 3242 | 3242 | ||
| 3243 | UBOOT_CONFIG ??= "foo bar" | 3243 | UBOOT_CONFIG ??= "foo bar" |
| 3244 | UBOOT_CONFIG[foo] = "config,images,binary" | 3244 | UBOOT_CONFIG[foo] = "config,images,binary,makeopts" |
| 3245 | UBOOT_CONFIG[bar] = "config2,images2,binary2" | 3245 | UBOOT_CONFIG[bar] = "config2,images2,binary2,makeopts2" |
| 3246 | 3246 | ||
| 3247 | In this example, all possible configurations are selected (``foo`` and | 3247 | In this example, all possible configurations are selected (``foo`` and |
| 3248 | ``bar``), but it is also possible to build only ``foo`` or ``bar`` by | 3248 | ``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: | |||
| 3280 | 3280 | ||
| 3281 | This option defaults to :term:`UBOOT_BINARY` if unset. | 3281 | This option defaults to :term:`UBOOT_BINARY` if unset. |
| 3282 | 3282 | ||
| 3283 | - ``makeopts``: the additional options passed to ``make`` when configuring | ||
| 3284 | and compiling U-Boot for this configuration entry. The options in this | ||
| 3285 | entry are added before the options in :term:`UBOOT_MAKE_OPTS`. | ||
| 3286 | |||
| 3283 | - Or, using the :term:`UBOOT_MACHINE` variable (and its companion variable | 3287 | - Or, using the :term:`UBOOT_MACHINE` variable (and its companion variable |
| 3284 | :term:`UBOOT_BINARY`). For example:: | 3288 | :term:`UBOOT_BINARY`). For example:: |
| 3285 | 3289 | ||
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index e80c5a6e92..a80ef364ed 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
| @@ -10906,6 +10906,12 @@ system and gives an overview of their function and contents. | |||
| 10906 | Please see the "Selection of Processor Architecture and Board Type" | 10906 | Please see the "Selection of Processor Architecture and Board Type" |
| 10907 | section in the U-Boot README for valid values for this variable. | 10907 | section in the U-Boot README for valid values for this variable. |
| 10908 | 10908 | ||
| 10909 | :term:`UBOOT_MAKE_OPTS` | ||
| 10910 | The :term:`UBOOT_MAKE_OPTS` variable can be used to pass extra options to | ||
| 10911 | ``make`` when U-Boot is configured and compiled. | ||
| 10912 | |||
| 10913 | See the :ref:`ref-classes-uboot-config` class for more information. | ||
| 10914 | |||
| 10909 | :term:`UBOOT_MAKE_TARGET` | 10915 | :term:`UBOOT_MAKE_TARGET` |
| 10910 | Specifies the target called in the ``Makefile``. The default target | 10916 | Specifies the target called in the ``Makefile``. The default target |
| 10911 | is "all". | 10917 | is "all". |
