summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/ref-varlocality.rst
blob: d98283c6fbfb450ba96aa05d348902bc67ddf9e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
****************
Variable Context
****************

While you can use most variables in almost any context such as
``.conf``, ``.bbclass``, ``.inc``, and ``.bb`` files, some variables are
often associated with a particular locality or context. This chapter
describes some common associations.

.. _ref-varlocality-configuration:

Configuration
=============

The following subsections provide lists of variables whose context is
configuration: distribution, machine, and local.

.. _ref-varlocality-config-distro:

Distribution (Distro)
---------------------

This section lists variables whose configuration context is the
distribution, or distro.

-  ``DISTRO``

-  ``DISTRO_NAME``

-  ``DISTRO_VERSION``

-  ``MAINTAINER``

-  ``PACKAGE_CLASSES``

-  ``TARGET_OS``

-  ``TARGET_FPU``

-  ``TCMODE``

-  ``TCLIBC``

.. _ref-varlocality-config-machine:

Machine
-------

This section lists variables whose configuration context is the machine.

-  ``TARGET_ARCH``

-  ``SERIAL_CONSOLES``

-  ``PACKAGE_EXTRA_ARCHS``

-  ``IMAGE_FSTYPES``

-  ``MACHINE_FEATURES``

-  ``MACHINE_EXTRA_RDEPENDS``

-  ``MACHINE_EXTRA_RRECOMMENDS``

-  ``MACHINE_ESSENTIAL_EXTRA_RDEPENDS``

-  ``MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS``

.. _ref-varlocality-config-local:

Local
-----

This section lists variables whose configuration context is the local
configuration through the ``local.conf`` file.

-  ``DISTRO``

-  ``MACHINE``

-  ``DL_DIR``

-  ``BBFILES``

-  ``EXTRA_IMAGE_FEATURES``

-  ``PACKAGE_CLASSES``

-  ``BB_NUMBER_THREADS``

-  ``BBINCLUDELOGS``

-  ``ENABLE_BINARY_LOCALE_GENERATION``

.. _ref-varlocality-recipes:

Recipes
=======

The following subsections provide lists of variables whose context is
recipes: required, dependencies, path, and extra build information.

.. _ref-varlocality-recipe-required:

Required
--------

This section lists variables that are required for recipes.

-  ``LICENSE``

-  ``LIC_FILES_CHKSUM``

-  ``SRC_URI`` - used in recipes that fetch local or remote files.

.. _ref-varlocality-recipe-dependencies:

Dependencies
------------

This section lists variables that define recipe dependencies.

-  ``DEPENDS``

-  ``RDEPENDS``

-  ``RRECOMMENDS``

-  ``RCONFLICTS``

-  ``RREPLACES``

.. _ref-varlocality-recipe-paths:

Paths
-----

This section lists variables that define recipe paths.

-  ``WORKDIR``

-  ``S``

-  ``FILES``

.. _ref-varlocality-recipe-build:

Extra Build Information
-----------------------

This section lists variables that define extra build information for
recipes.

-  ``DEFAULT_PREFERENCE``

-  ``EXTRA_OECMAKE``

-  ``EXTRA_OECONF``

-  ``EXTRA_OEMAKE``

-  ``PACKAGECONFIG_CONFARGS``

-  ``PACKAGES``