diff options
Diffstat (limited to 'documentation/ref-manual/ref-variables.xml')
| -rw-r--r-- | documentation/ref-manual/ref-variables.xml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index b1dd97a138..ba0e235fff 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
| @@ -5793,6 +5793,49 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" | |||
| 5793 | 5793 | ||
| 5794 | <glossdiv id='var-glossary-u'><title>U</title> | 5794 | <glossdiv id='var-glossary-u'><title>U</title> |
| 5795 | 5795 | ||
| 5796 | <glossentry id='var-UBOOT_CONFIG'><glossterm>UBOOT_CONFIG</glossterm> | ||
| 5797 | <glossdef> | ||
| 5798 | <para> | ||
| 5799 | Configures the | ||
| 5800 | <link linkend='var-UBOOT_MACHINE'><filename>UBOOT_MACHINE</filename></link> | ||
| 5801 | and can also define | ||
| 5802 | <link linkend='var-IMAGE_FSTYPES'><filename>IMAGE_FSTYPES</filename></link> | ||
| 5803 | for individual cases. | ||
| 5804 | </para> | ||
| 5805 | |||
| 5806 | <para> | ||
| 5807 | Following is an example from the | ||
| 5808 | <filename>meta-fsl-arm</filename> layer. | ||
| 5809 | <literallayout class='monospaced'> | ||
| 5810 | UBOOT_CONFIG ??= "sd" | ||
| 5811 | UBOOT_CONFIG[sd] = "mx6qsabreauto_config,sdcard" | ||
| 5812 | UBOOT_CONFIG[eimnor] = "mx6qsabreauto_eimnor_config" | ||
| 5813 | UBOOT_CONFIG[nand] = "mx6qsabreauto_nand_config,ubifs" | ||
| 5814 | UBOOT_CONFIG[spinor] = "mx6qsabreauto_spinor_config" | ||
| 5815 | </literallayout> | ||
| 5816 | In this example, "sd" is selected as the configuration | ||
| 5817 | of the possible four for the | ||
| 5818 | <filename>UBOOT_MACHINE</filename>. | ||
| 5819 | The "sd" configuration defines "mx6qsabreauto_congif" | ||
| 5820 | as the value for <filename>UBOOT_MACHINE</filename>, while | ||
| 5821 | the "sdcard" specifies the | ||
| 5822 | <filename>IMAGE_FSTYPES</filename> to use for the U-boot | ||
| 5823 | image. | ||
| 5824 | </para> | ||
| 5825 | |||
| 5826 | <para> | ||
| 5827 | For more information on how the | ||
| 5828 | <filename>UBOOT_CONFIG</filename> is handled, see the | ||
| 5829 | <ulink url='http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/uboot-config.bbclass'><filename>uboot-config</filename></ulink> | ||
| 5830 | class. | ||
| 5831 | </para> | ||
| 5832 | |||
| 5833 | |||
| 5834 | |||
| 5835 | |||
| 5836 | </glossdef> | ||
| 5837 | </glossentry> | ||
| 5838 | |||
| 5796 | <glossentry id='var-UBOOT_ENTRYPOINT'><glossterm>UBOOT_ENTRYPOINT</glossterm> | 5839 | <glossentry id='var-UBOOT_ENTRYPOINT'><glossterm>UBOOT_ENTRYPOINT</glossterm> |
| 5797 | <glossdef> | 5840 | <glossdef> |
| 5798 | <para> | 5841 | <para> |
