diff options
author | Enrico Jörns <ejo@pengutronix.de> | 2025-01-19 23:10:05 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-01-29 10:41:59 +0000 |
commit | dfab86d2f4bdc131529d7e1705fc4b095afa8b54 (patch) | |
tree | a9aab217c27b47f1339828e29412afff852e4cc5 /documentation/ref-manual/variables.rst | |
parent | 5a38f96a33d75a120dba4f2e6157189a140ccb38 (diff) | |
download | poky-dfab86d2f4bdc131529d7e1705fc4b095afa8b54.tar.gz |
ref-manual: add documentation for the barebox class
This adds the initial documentation for the newly added barebox.bbclass
to the Reference Manual's class list.
It also adds the two most notable variables to the variable list.
(From yocto-docs rev: cc8179122441cdc26ff62511dcd97f7bf9bf7e3d)
Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/variables.rst')
-rw-r--r-- | documentation/ref-manual/variables.rst | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 702a6caf87..8b996f216b 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
@@ -293,6 +293,35 @@ system and gives an overview of their function and contents. | |||
293 | :term:`PACKAGE_EXCLUDE` variables for related | 293 | :term:`PACKAGE_EXCLUDE` variables for related |
294 | information. | 294 | information. |
295 | 295 | ||
296 | :term:`BAREBOX_BINARY` | ||
297 | When using the :ref:`ref-classes-barebox` class, this variable allows you | ||
298 | to specify a particular binary that should be deployed and installed. | ||
299 | |||
300 | The barebox build system can build multiple barebox binaries at once. | ||
301 | By default, all built binaries will be deployed and installed under their | ||
302 | original name. | ||
303 | |||
304 | Here is an example usage of this variable:: | ||
305 | |||
306 | BAREBOX_BINARY = "barebox-boundarydevices-imx6dl-nitrogen6x-1g.img" | ||
307 | |||
308 | :term:`BAREBOX_CONFIG` | ||
309 | When using the :ref:`ref-classes-barebox` class, this variable allows you | ||
310 | to specify the name of the barebox defconfig to build. | ||
311 | The name must be a defconfig file known to the barebox build environment. | ||
312 | This variable is mainly useful for generic use cases where a dedicated | ||
313 | configuration is not required. | ||
314 | The :ref:`ref-classes-barebox` class itself already sets it for some QEMU | ||
315 | machines:: | ||
316 | |||
317 | BAREBOX_CONFIG:qemuarm = "multi_v7_defconfig" | ||
318 | BAREBOX_CONFIG:qemuarm64 = "multi_v8_defconfig" | ||
319 | BAREBOX_CONFIG:qemux86-64 = "efi_defconfig" | ||
320 | |||
321 | Except for these, the default value of :term:`BAREBOX_CONFIG` is empty. | ||
322 | For more information on how to provide a barebox configuration, see the | ||
323 | :ref:`ref-classes-barebox` class. | ||
324 | |||
296 | :term:`BASE_LIB` | 325 | :term:`BASE_LIB` |
297 | The library directory name for the CPU or Application Binary | 326 | The library directory name for the CPU or Application Binary |
298 | Interface (ABI) tune. The :term:`BASE_LIB` applies only in the Multilib | 327 | Interface (ABI) tune. The :term:`BASE_LIB` applies only in the Multilib |