diff options
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 |