summaryrefslogtreecommitdiffstats
path: root/WebHob_1.5/b3/bitbake-variables.html
blob: 159ac5dd2d6a3e5d6ed239d72a8f9c1b2e939678 (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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
<!DOCTYPE html>

<html lang="en">
  <head>
    <title>
       BitBake variables - A Toaster project - Toaster
    </title>
    <link rel="stylesheet" href="assets/css/bootstrap.css" type="text/css"/>
    <link rel="stylesheet" href="assets/css/font-awesome.min.css" type='text/css'/>
    <link rel="stylesheet" href="assets/css/default.css" type='text/css'/>

    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    <script src="assets/js/jquery-2.0.3.min.js"></script>
    <script src="assets/js/bootstrap.js"></script>
    <script src="assets/js/prettify.js"></script>
    <script src="assets/js/main.js"></script>
  </head>

  <body>

    <input type='hidden' name='csrfmiddlewaretoken' value='p0dizneX6TSfSCS12vZ5iQazveEBC9PP' />
    <div id="loading-notification" class="alert alert-warning lead text-center" style="display:none">
      Loading <i class="fa-pulse icon-spinner"></i>
    </div>

    <div id="change-notification" class="alert alert-info alert-dismissible change-notification" style="display:none">
      <button type="button" class="close" id="hide-alert" data-dismiss="alert">&times;</button>
      <span id="change-notification-msg"></span>
    </div>

    <nav class="navbar navbar-default navbar-fixed-top">
      <div class="container-fluid">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#global-nav" aria-expanded="false">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <div class="toaster-navbar-brand">
            <a href="/">
              <img class="logo" src="../assets/img/logo.png" class="" alt="Yocto logo project"/>
            </a>
            <a class="brand" href="/">Toaster</a>

            <span class="glyphicon glyphicon-info-sign" title="<strong>Toaster version information</strong>" data-content="<dl><dt>Git branch</dt><dd>toaster-next
</dd><dt>Git revision</dt><dd>4543441cd3cef170bfcb5cfe803988989d500ed6
</dd></dl>"></i>

          </div>
        </div>
        <div class="collapse navbar-collapse" id="global-nav">
            <ul class="nav navbar-nav">

              <li >
              <a href="/toastergui/builds/">
                <i class="glyphicon glyphicon-tasks"></i>
                All builds
              </a>
              </li>
              <li >
              <a href="all-projects.html">
                <i class="glyphicon glyphicon-folder-open"></i>
                All projects
              </a>
              </li>

              <li>
              <a target="_blank" href="http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html">
                <i class="glyphicon glyphicon-book"></i>
                Documentation
              </a>
              </li>
            </ul>
            <a class="btn btn-default navbar-btn navbar-right" id="new-project-button" href="/toastergui/newproject/">New project</a>
          </div>
      </div>
    </nav>

    <div class="container-fluid">


<div class="row">

<div class="col-md-12">
  <div class="alert alert-success alert-dismissible change-notification" id="project-created-notification" style="display:none">
    <button type="button" class="close" data-dismiss="alert">&times;</button>
		<p>Your project <strong>test crazy dependencies</strong> has been created. You can now <a class="alert-link" href="/toastergui/project/31/machines/">select your target machine</a> and <a class="alert-link" href="/toastergui/project/31/images/">choose image recipes</a> to build.</p>
  </div>
  <!-- project name -->
  <div class="page-header">
    <h1 id="project-name-container">
      <span id="project-name">A Toaster project</span>

      <span class="glyphicon glyphicon-edit" id="project-change-form-toggle"></i>


    </h1>
    <form id="project-name-change-form" class="form-inline" style="display: none;">
      <div class="form-group">
        <input class="form-control input-lg" type="text" id="project-name-change-input" autocomplete="off" value="test crazy dependencies">
      </div>
      <button id="project-name-change-btn" class="btn btn-default btn-lg" type="button">Save</button>
      <a href="#" id="project-name-change-cancel" class="btn btn-lg btn-link">Cancel</a>
    </form>
  </div>


  <div id="project-topbar">
    <ul class="nav nav-tabs">
      <li class="active" id="topbar-configuration-tab">
      <a href="project-configuration.html">
        Configuration
      </a>
      </li>
      <li>
      <a href="project-builds.html">
        Builds (3)
      </a>
      </li>
      <li>
      <a href="import-layer.html">
        Import layer
      </a>
      </li>
      <li>
      <a href="/toastergui/project/31/newcustomimage/">
        New custom image
      </a>
      </li>
      <li class="pull-right">
        <form class="form-inline">
          <div class="form-group">
            <span class="glyphicon glyphicon-question-sign get-help" data-placement="left" title="Type the name of one or more recipes you want to build, separated by a space. You can also specify a task by appending a colon and a task name to the recipe name, like so: <code>busybox:clean</code>"></span>
            <input id="build-input" type="text" class="form-control input-lg" placeholder="Type the recipe you want to build" autocomplete="off">
          </div>
          <div class="btn-group">
            <a href="#" id="build-button" class="btn btn-primary btn-lg" data-project-id="2" disabled>
              <span class="glyphicon glyphicon-question-sign get-help get-help-white heading-help" title="Builds packages and, if selecting an image recipe, a set of root file system files"></span>
              Build
            </a>
            <a href="#" class="btn btn-default btn-lg" disabled>
              <span class="glyphicon glyphicon-question-sign get-help heading-help" title="Only for <strong>image recipes</strong>. Does everything build does, and it also generates the extensible SDK for application development"></span>
                SDK
            </a>
          </div>
        </form>
      </li>
    </ul>
  </div>

</div>

  <!-- only on config pages -->
  <div id="config-nav" class="col-md-2">
    <ul class="nav nav-pills nav-stacked">
      <li><a class="nav-parent" href="project-configuration.html">Configuration</a></li>
      <li class="nav-header">Compatible metadata</li>
      <li><a href="custom-images.html">Custom images</a></li>
      <li><a href="/toastergui/project/31/images/">Image recipes</a></li>
      <li><a href="/toastergui/project/31/softwarerecipes/">Software recipes</a></li>
      <li><a href="/toastergui/project/31/machines/">Machines</a></li>
      <li><a href="">Layers</a></li>
      <li class="nav-header">Extra configuration</li>
      <li class="active"><a href="#">BitBake variables</a></li>
      <li><a href="sdk-configuration.html">SDK configuration</a></li>
      <li class="nav-header">Actions</li>
      <li><a href="#deleteProject" data-toggle="modal" class="text-danger"><span class="glyphicon glyphicon-trash"></span> Delete project</a></li>
    </ul>
  </div>
  <div class="col-md-10">


<h2>Bitbake variables</h2>
<div>
  <dl>

    <dt>
    <span class="js-config-var-name js-config-var-managed-name">DISTRO</span>
    <span class="glyphicon glyphicon-question-sign get-help" title="The short name of the distribution. If the variable is blank, meta/conf/distro/defaultsetup.conf will be used"></span>
    </dt>
    <dd class="variable-list">
    <span class="lead" id="distro">poky</span>
    <span class="glyphicon glyphicon-edit" id="change-distro-icon"></span>
    <form id="change-distro-form" class="form-inline" style="display:none;">
      <div id="edit-distro-name-div" class="form-group">
        <input type="text" class="form-control" id="new-distro" value="poky">
      </div>
      <button id="apply-change-distro" class="btn btn-default" type="button">Save</button>
      <button id="cancel-change-distro" type="button" class="btn btn-link">Cancel</button>
      <span class="help-block" id="distro-error-message"></span>
    </form>
    </dd>



    <dt>
    <span class="js-config-var-name js-config-var-managed-name">DL_DIR</span>
    <span class="glyphicon glyphicon-question-sign get-help" title="Absolute path to the directory used to store downloads required for your builds. By default, Toaster projects share the same downloads directory"></span>
    </dt>
    <dd class="variable-list">
    <span id="dl_dir" class="lead ">/home/belen/poky/downloads</span>
    <span class="glyphicon glyphicon-edit" id="change-dl_dir-icon"></span>
    <form id="change-dl_dir-form" class="form-inline" style="display:none;">
      <div class="form-group" id="validate-dl_dir">
        <input type="text" class="form-control" id="new-dl_dir" placeholder="Type an absolute path">
      </div>
      <button id="apply-change-dl_dir" class="btn btn-default" type="button">Save</button>
      <button id="cancel-change-dl_dir" type="button" class="btn btn-link">Cancel</button>
      <p class="help-block" id="hintError-dl_dir" style="display:none;">The directory path cannot include spaces or any of these characters: . \ ? % * : | " " &lt; &gt;</p>
      <p class="help-block" id="hintError-initialChar-dl_dir" style="display:none;">The directory path should either start with a /, e.g. /home/toaster/downloads; or with a variable, e.g. ${TOPDIR}/downloads.</p>
    </form>
    </dd>



    <dt>
    <span class="js-config-var-name js-config-var-managed-name">IMAGE_FSTYPES</span>
    <span class="glyphicon glyphicon-question-sign get-help" title="Formats of root file system images that you want to create"></span>
    </dt>
    <dd class="variable-list">
    <span class="lead" id="image_fstypes">ext3 jffs2 tar.bz2</span>
    <span class="glyphicon glyphicon-edit" id="change-image_fstypes-icon"></span>
    <form id="change-image_fstypes-form" style="display:none;">
      <label>Type the image types you want to build:</label>
      <div class="form-group form-inline" id="validate-image_fstypes">
        <input type="text" class="form-control "id="new-imagefs_types">
        <button id="apply-change-image_fstypes" type="button" class="btn btn-default">Save</button>
        <button id="cancel-change-image_fstypes" type="button" class="btn btn-link">Cancel</button>
      </div>
      <p class="help-block text-danger" style="display:none;" id="hintError-image-fs_type">A valid image type cannot include underscores</p>
      <label>Or choose from known image types:</label>
      <input id="filter-image_fstypes" type="text" placeholder="Search image types" class="form-control">
      <div id="all-image_fstypes" class="scrolling"></div>
    </form>
    </dd>



    <dt>
    <span class="js-config-var-name js-config-var-managed-name">IMAGE_INSTALL_append</span>
    <span class="glyphicon glyphicon-question-sign get-help" title="Specifies additional packages to install into an image. If your build creates more than one image, the packages will be installed in all of them"></span>
    </dt>
    <dd class="variable-list">
    <span id="image_install" class="lead  text-muted ">Not set</span>
    <span class="glyphicon glyphicon-edit" id="change-image_install-icon"></span>
    <span class="glyphicon glyphicon-trash" id="delete-image_install-icon" style="display:none;"></span>
    <form id="change-image_install-form" class="form-inline" style="display:none;">
      <div class="row">
        <div class="col-md-4">
          <span class="help-block">To set IMAGE_INSTALL_append to more than one package, type the package names separated by a space.</span>
        </div>
      </div>
      <div class="form-group">
        <input type="text" class="form-control" id="new-image_install" placeholder="Type one or more package names">
      </div>
      <button id="apply-change-image_install" class="btn btn-default" type="button">Save</button>
      <button id="cancel-change-image_install" type="button" class="btn btn-link">Cancel</button>
    </form>
    </dd>



    <dt>
    <span class="js-config-var-name js-config-var-managed-name">PACKAGE_CLASSES</span>
    <span class="glyphicon glyphicon-question-sign get-help" title="Specifies the package manager to use when packaging data"></span>
    </dt>
    <dd class="variable-list">
    <span class="lead" id="package_classes">package_rpm</span>
    <span id="change-package_classes-icon" class="glyphicon glyphicon-edit"></span>
    <form id="change-package_classes-form" style="display:none;">
      <div class="form-group">
        <label class="control-label">
          Root file system package format
          <span class="glyphicon glyphicon-question-sign get-help" title="The package format used to generate the root file system. Options are <code>deb</code>, <code>ipk</code> and <code>rpm</code>"></i>
        </label>
        <select id="package_classes-select" class="form-control">
          <option>package_deb</option>
          <option>package_ipk</option>
          <option>package_rpm</option>
        </select>
      </div>
      <div class="form-group">
        <label class="control-label">
          Additional package formats
          <span class="glyphicon glyphicon-question-sign get-help" title="Extra package formats to build"></span>
        </label>
        <div class="checkbox">
          <label id="package_class_1">
            <input type="checkbox" id="package_class_1_input"> package_deb
          </label>
        </div>
        <div class="checkbox">
          <label id="package_class_2">
            <input type="checkbox" id="package_class_2_input"> package_ipk
          </label>
        </div>
      </div>
      <button id="apply-change-package_classes" type="button" class="btn btn-default">Save</button>
      <button id="cancel-change-package_classes" type="button" class="btn btn-link">Cancel</button>
    </form>
    </dd>



    <dt>
    <span class="js-config-var-name js-config-var-managed-name">SSTATE_DIR</span>
    <span class="glyphicon glyphicon-question-sign get-help" title="Absolute path to the directory used to store shared state cache files. These files are reused across the builds, which makes the builds faster. By default, Toaster projects share the same cache directory"></span>
    </dt>
    <dd class="variable-list">
    <span id="sstate_dir" class="lead ">/home/belen/poky/sstate-cache</span>
    <span class="glyphicon glyphicon-edit" id="change-sstate_dir-icon"></span>
    <form class="form-inline" id="change-sstate_dir-form" style="display:none;">
      <div class="form-group" id="validate-sstate_dir">
        <input type="text" class="form-control" id="new-sstate_dir" placeholder="Type an absolute path">
      </div>
      <button id="apply-change-sstate_dir" class="btn btn-default" type="button">Save</button>
      <button id="cancel-change-sstate_dir" type="button" class="btn btn-link">Cancel</button>
      <p class="help-block" id="hintError-sstate_dir" style="display:none;">The directory path cannot include spaces or any of these characters: . \ ? % * : | " " &lt; &gt;</p>
      <p class="help-block" id="hintError-initialChar-sstate_dir" style="display:none;">The directory path should either start with a /, e.g. /home/toaster/sstate-cache; or with a variable, e.g. ${TOPDIR}/sstate-cache.</p>
    </form>
    </dd>

  </dl>

  <!-- <ul class="list-unstyled configuration-list" id="configvar-list"> -->
  <dl id="configvar-list">
    <!-- the added configuration variables are inserted here -->
  </dl>

  <!-- pass the fstypes list, black list, and externally managed variables here -->

  <input type="hidden" class="js-checkbox-fstypes-list" value="btrfs">

  <input type="hidden" class="js-checkbox-fstypes-list" value="cpio">

  <input type="hidden" class="js-checkbox-fstypes-list" value="cpio.gz">

  <input type="hidden" class="js-checkbox-fstypes-list" value="cpio.lz4">

  <input type="hidden" class="js-checkbox-fstypes-list" value="cpio.lzma">

  <input type="hidden" class="js-checkbox-fstypes-list" value="cpio.xz">

  <input type="hidden" class="js-checkbox-fstypes-list" value="cramfs">

  <input type="hidden" class="js-checkbox-fstypes-list" value="elf">

  <input type="hidden" class="js-checkbox-fstypes-list" value="ext2">

  <input type="hidden" class="js-checkbox-fstypes-list" value="ext2.bz2">

  <input type="hidden" class="js-checkbox-fstypes-list" value="ext2.gz">

  <input type="hidden" class="js-checkbox-fstypes-list" value="ext2.lzma">

  <input type="hidden" class="js-checkbox-fstypes-list" value="ext3">

  <input type="hidden" class="js-checkbox-fstypes-list" value="ext3.gz">

  <input type="hidden" class="js-checkbox-fstypes-list" value="ext4">

  <input type="hidden" class="js-checkbox-fstypes-list" value="ext4.gz">

  <input type="hidden" class="js-checkbox-fstypes-list" value="hddimg">

  <input type="hidden" class="js-checkbox-fstypes-list" value="iso">

  <input type="hidden" class="js-checkbox-fstypes-list" value="jffs2">

  <input type="hidden" class="js-checkbox-fstypes-list" value="jffs2.sum">

  <input type="hidden" class="js-checkbox-fstypes-list" value="squashfs">

  <input type="hidden" class="js-checkbox-fstypes-list" value="squashfs-lzo">

  <input type="hidden" class="js-checkbox-fstypes-list" value="squashfs-xz">

  <input type="hidden" class="js-checkbox-fstypes-list" value="tar.bz2">

  <input type="hidden" class="js-checkbox-fstypes-list" value="tar.lz4">

  <input type="hidden" class="js-checkbox-fstypes-list" value="tar.xz">

  <input type="hidden" class="js-checkbox-fstypes-list" value="tartar.gz">

  <input type="hidden" class="js-checkbox-fstypes-list" value="ubi">

  <input type="hidden" class="js-checkbox-fstypes-list" value="ubifs">

  <input type="hidden" class="js-checkbox-fstypes-list" value="vmdk">


  <input type="hidden" class="js-config-blacklist-name" value="CVS_PROXY_HOST">

  <input type="hidden" class="js-config-blacklist-name" value="PARALLEL_MAKE">

  <input type="hidden" class="js-config-blacklist-name" value="http_proxy ">

  <input type="hidden" class="js-config-blacklist-name" value="ftp_proxy">

  <input type="hidden" class="js-config-blacklist-name" value="all_proxy">

  <input type="hidden" class="js-config-blacklist-name" value="BB_DISKMON_DIRS">

  <input type="hidden" class="js-config-blacklist-name" value="CVS_PROXY_PORT">

  <input type="hidden" class="js-config-blacklist-name" value="TMPDIR">

  <input type="hidden" class="js-config-blacklist-name" value="BB_NUMBER_THREADS">

  <input type="hidden" class="js-config-blacklist-name" value="https_proxy">


  <input type="hidden" class="js-config-managed-name" value="MACHINE">

  <input type="hidden" class="js-config-managed-name" value="BBLAYERS">


  <form id="variable-form">
    <fieldset>
      <legend>Add variable</legend>
      <div class="row">
        <div class="col-md-3">
          <div id="add-configvar-name-div" class="form-group">
            <label class="control-label">
              Variable
              <span class="glyphicon glyphicon-question-sign get-help"
                    title="Variable names are case sensitive,
                    cannot have spaces, and can only include letters, numbers, underscores
                    and dashes"></span>
            </label>
            <input type="text" class="form-control" placeholder="Type the variable name" id="variable">
          </div>
          <p class="help-block" id="new-variable-error-message"></p>
          <div class="form-group">
            <label clas="control-label">Value</label>
            <input id="value" type="text" class="form-control" placeholder="Type the variable value">
          </div>
          <button id="add-configvar-button" class="btn btn-default save" type="button" disabled>Add variable</button>
        </div>
        <div class="col-md-5 help-block">
          <h5>Some variables cannot be set from Toaster</h5>
          <p>Toaster cannot set any variables that impact 1) the configuration of the build servers,
          or 2) where artifacts produced by the build are stored. Such variables include: </p>
          <p>
          <code><a href="http://www.yoctoproject.org/docs/1.6.1/ref-manual/ref-manual.html#var-BB_DISKMON_DIRS" target="_blank">BB_DISKMON_DIRS</a></code>
          <code><a href="http://www.yoctoproject.org/docs/1.6.1/ref-manual/ref-manual.html#var-BB_NUMBER_THREADS" target="_blank">BB_NUMBER_THREADS</a></code>
          <code>CVS_PROXY_HOST</code>
          <code>CVS_PROXY_PORT</code>
          <code><a href="http://www.yoctoproject.org/docs/1.6.1/ref-manual/ref-manual.html#var-PARALLEL_MAKE" target="_blank">PARALLEL_MAKE</a></code>
          <code><a href="http://www.yoctoproject.org/docs/1.6.1/ref-manual/ref-manual.html#var-TMPDIR" target="_blank">TMPDIR</a></code></p>
          <p>Plus the following standard shell environment variables:</p>
          <p><code>http_proxy</code> <code>ftp_proxy</code> <code>https_proxy</code> <code>all_proxy</code></p>
        </div>
      </div>
    </fieldset>
  </form>
</div>

</div>

  </div>

</div>

    </div>
  </body>
</html>