summaryrefslogtreecommitdiffstats
path: root/WebHob_1.5/b3/sdk-configuration.html
blob: 51d48be899eb2c202fdc8eb5de13482065ee7961 (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
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
<!DOCTYPE html>

<html lang="en">
  <head>
    <title>
       SDK configuration - 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><a href="bitbake-variables.html">BitBake variables</a></li>
      <li class="active"><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" id="sdk-configuration">
    <h2>SDK configuration</h2>
    <div class="row">
      <div class="col-md-6">
        <fieldset>
          <legend style="margin-top:0;">Core SDK options</legend>
          <dl>
            <dt>
              <span class="js-config-var-name js-config-var-managed-name">SDK_EXT_TYPE</span>
            </dt>
            <dd class="variable-list">
              <span class="lead" id="sdk_ext_type">full</span>
              <span class="glyphicon glyphicon-edit" id="change-sdk_ext_type-icon"></span>
              <form id="change-sdk_ext_type-form" style="display:none;">
                <div class="radio">
                  <label>
                    <input type="radio" name="full-minimal" id="full" value="full" checked>
                    full
                  </label>
                  <p class="help-block" style="margin-left:20px;">Bundles the shared state artifacts needed to reconstruct the image for which the SDK was built. The installer file can be 1 GB or more in size.</p>
                </div>
                <div class="radio">
                  <label>
                    <input type="radio" name="full-minimal" id="minimal" value="minimal">
                    minimal
                  </label>
                  <p class="help-block" style="margin-left:20px;">Produces a smaller installer file, but it does not install any libraries or tools: you will need to install them manually using devtool. When building a minimal SDK you must provide a shared state mirror and set <code>SDK_INCLUDE_PKGDATA</code> to <code>1</code>.</p>
                </div>
                <div id="add-sstate_mirrors" class="form-group">
                  <label>SSTATE_MIRRORS</label>
                  <input type="text" class="form-control" id="new-sstate_mirrors">
                  <span class="help-block">
                    <p>Provide the path to the shared state mirror where the build system can find the prebuilt cache data objects. Something like:</p>
                    <p><code>file://.* http://someserver.tld/share/sstate/PATH</code></p>
                    <p><a href="#">More about SSTATE_MIRRORS in the Yocto Project reference manual</a></p>
                  </span>
                </div>
                <div style="margin-top:20px;">
                  <button id="apply-change-sdk_ext_type" class="btn btn-default" type="button">Save</button>
                  <button id="cancel-change-sdk_ext_type" type="button" class="btn btn-link">Cancel</button>
                </div>
              </form>
            </dd>
            <dt id="sstate_mirrors_label" style="display:none;">SSTATE_MIRRORS</dt>
            <dd class="variable-list" style="display:none;">
              <span class="lead" id="sstate_mirrors"></span>
              <span class="glyphicon glyphicon-edit" id="change-sstate_mirrors-icon"></span>
            </dd>
            <dt>SDK_INCLUDE_PKGDATA</dt>
            <dd class="variable-list">
              <span class="lead" id="sdk_include_pkgdata">0</span>
              <span class="glyphicon glyphicon-edit" id="change-sdk_include_pkgdata-icon"></span>
              <form id="change-sdk_include_pkgdata-form" style="display:none;">
                <div class="radio">
                  <span class="help-block">Set this variable to <code>1</code> when building a <code>minimal</code> SDK: it will include the package data for all recipes in the "world" target in the SDK. This allows the <code>devtool search</code> command to find these recipes in search results, as well as the <code>devtool add</code> command to map dependencies more effectively.</span>
                  <label>
                    <input type="radio" name="pkgdata" id="0" value="0" checked>
                    0
                  </label>
                </div>
                <div class="radio">
                  <label>
                    <input type="radio" name="pkgdata" id="1" value="1">
                    1
                  </label>
                </div>
                <div style="margin-top:20px;">
                  <button id="apply-change-sdk_include_pkgdata" class="btn btn-default" type="button">Save</button>
                  <button id="cancel-change-sdk_include_pkgdata" type="button" class="btn btn-link">Cancel</button>
                </div>
              </form>
            </dd>
          </dl>
        </fieldset>
        <fieldset>
          <legend>SDK publishing</legend>
          <dl>
            <dt>SDK_UPDATE_URL</dt>
            <dd class="variable-list">
              <span class="lead text-muted" id="sdk_update_url">Not set</span>
              <span class="glyphicon glyphicon-edit" id="change-sdk_update_url-icon"></span>
              <span class="glyphicon glyphicon-trash" id="delete-sdk_update_url-icon" style="display:none;"></span>
              <form id="change-sdk_update_url-form" style="display:none;">
                <div class="form-group">
                  <input type="text" class="form-control" id="new-sdk_update_url">
                  <span class="help-block">
                    <p>Type the URL to the shared directory from where application developers can update the SDK. The directory must be shared over HTTP or HTTPS. For example:</p>
                    <p><code>https://myserver/sdk-update-directory</code></p>
                    <p><a href="#">More about SDK_UPDATE_URL in the SDK Developer's Guide</a></p>
                  </span>
                </div>
                <div style="margin-top:20px;">
                  <button id="apply-change-sdk_update_url" class="btn btn-default" type="button" disabled>Save</button>
                  <button id="cancel-change-sdk_update_url" type="button" class="btn btn-link">Cancel</button>
                </div>
              </form>
            </dd>
            <div id="publish-option" class="checkbox disabled">
              <label class="text-muted">
                <input type="checkbox" disabled> <strong>Publish the SDK after each build</strong>
              </label>
              <p class="help-block">To enable this option, you must first set the <code>SDK_UPDATE_URL</code> variable.</p>
            </div>
          </dl>
        </fieldset>
        <fieldset>
          <legend>Additional SDK options</legend>
          <dl>
            <dt>SDK_TITLE</dt>
            <dd class="variable-list">
              <span class="lead">poky Extensible SDK</span>
              <span class="glyphicon glyphicon-edit" id="change-distro-icon"></span>
            </dd>
            <dt>SDK_LOCAL_CONF_WHITELIST</dt>
            <dd class="variable-list">
              <span class="lead text-muted" id="sdk_local_conf_whitelist">Not set</span>
              <span class="glyphicon glyphicon-edit"></span>
              <span class="glyphicon glyphicon-trash" id="delete-sdk_local_conf_whitelist-icon"></span>
            </dd>
            <dt>SDK_LOCAL_CONF_BLACKLIST</dt>
            <dd class="variable-list">
              <span class="lead" id="sdk_local_conf_blacklist">CONF_VERSION BB_NUMBER_THREADS
                <br/>
                 PARALLEL_MAKE PRSERV_HOST
                <br />
                SSTATE_MIRRORS </span>
                <span class="glyphicon glyphicon-edit" id="change-distro-icon"></span>
                <span class="glyphicon glyphicon-trash"></span>
              <!--ul class="lead list-unstyled">
                <li>SSTATE_MIRRORS</li>
                <li>CONF_VERSION</li>
                <li>BB_NUMBER_THREADS</li>
                <li>PARALLEL_MAKE</li>
                <li>
                  PRSERV_HOST
                  <span class="glyphicon glyphicon-edit" id="change-distro-icon"></span>
                  <span class="glyphicon glyphicon-trash"></span>
                </li>
              </ul-->
            </dd>
            <dt>SDK_INHERIT_BLACKLIST</dt>
            <dd class="variable-list">
              <span class="lead" id="sdk_inherit_blacklist">buildhistory icecc</span>
              <span class="glyphicon glyphicon-edit" id="change-sdk_inherit_blacklist-icon"></span>
              <span class="glyphicon glyphicon-trash" id="delete-sdk_inherit_blacklist-icon" title="delete"></span>
              <form id="change-sdk_inherit_blacklist-form" style="display:none;">
                <div class="form-group">
                  <input type="text" class="form-control" id="new-sdk_inherit_blacklist" value="buildhistory icecc">
                  <span class="help-block">
                    <p>Type the classes inherited globally with <code>INHERIT</code> that you would like to disable for the SDK.</p>
                    <p><a href="#">More about SDK_INHERIT_BLACKLIST in the SDK Developer's Guide</a></p>
                  </span>
                </div>
                <div style="margin-top:20px;">
                  <button id="apply-change-sdk_inherit_blacklist" class="btn btn-default" type="button">Save</button>
                  <button id="cancel-change-sdk_inherit_blacklist" type="button" class="btn btn-link">Cancel</button>
                </div>
              </form>
            </dd>
            <dt>SDK_RECRDEP_TASKS</dt>
            <dd class="variable-list">
              <span class="lead text-muted">Not set</span>
              <span class="glyphicon glyphicon-edit" id="change-distro-icon"></span>
            </dd>
            <dt>OE_INIT_ENV_SCRIPT</dt>
            <dd class="variable-list">
              <span class="lead text-muted">Not set</span>
              <span class="glyphicon glyphicon-edit" id="change-distro-icon"></span>
            </dd>
            <dt>COREBASE_FILES</dt>
            <dd class="variable-list">
              <span class="lead text-muted">Not set</span>
              <span class="glyphicon glyphicon-edit" id="change-distro-icon"></span>
            </dd>
          </dl>
        </fieldset>
      </div>
      <div class="col-md-5 col-md-offset-1" id="sdk-help">
        <h3 style="font-weight:normal;margin-top:0;margin-bottom:20px;">The SDK configuration explained</h3>
        <div class="panel panel-default">
          <div class="panel-heading">
            <h3 class="panel-title">
              <a role="button" data-toggle="collapse" href="#sdk_ext_type_help" aria-expanded="false" aria-controls="collapseExample">
                SDK_EXT_TYPE
              </a>
            </h3>
          </div>
          <div class="panel-body" id="sdk_ext_type_help">
            <p>The type of SDK you want to build. There are 2 types:</p>
            <ul>
              <li><strong>Full:</strong> it bundles the shared state artifacts for everything needed to reconstruct the image for which the SDK was built. The installer file can be a Gigabyte or more in size.</li>
              <li><strong>Minimal:</strong> produces a smaller installer file (around 35 Mbytes in size), but it does not install any libraries or tools out of the box. You will need to install those manually using <a href="#">devtool</a>. When building a minimal SDK you must provide a <a href="#">shared state mirror</a> and set <code>SDK_INCLUDE_PKGDATA</code> to <code>1</code>.</li>
            </ul>
            <a href="#">More about SDK_EXT_TYPE in the SDK Developer's Guide</a>
          </div>
        </div>

        <div class="panel panel-default">
          <div class="panel-heading">
            <h3 class="panel-title">
              <a role="button" data-toggle="collapse" href="#sstate_mirrors_help" aria-expanded="false" aria-controls="collapseExample">
                SSTATE_MIRRORS
              </a>
            </h3>
          </div>
          <div class="panel-body collapse" id="sstate_mirrors_help">
            <p>Configures the OpenEmbedded build system to search other mirror locations for prebuilt cache data objects before building out the data.</p>
            <p>You can specify a filesystem directory:</p>
            <p><code>file://.* file:///some-local-dir/sstate/PATH</code></p>
            <p>or a remote URL such as HTTP or FTP:</p>
            <p><code>file://.* http://someserver.tld/share/sstate/PATH</code></p>
            <a href="#">More about SSTATE_MIRRORS in the Yocto Project Reference Manual</a>
          </div>
        </div>

        <div class="panel panel-default">
          <div class="panel-heading">
            <h3 class="panel-title">
              <a role="button" data-toggle="collapse" href="#sdk_include_pkgdata_help" aria-expanded="false" aria-controls="collapseExample">
                SDK_INCLUDE_PKGDATA
              </a>
            </h3>
          </div>
          <div class="panel-body collapse" id="sdk_include_pkgdata_help">
            <p>Set this variable to <code>1</code> when building a <code>minimal</code> SDK: it will include the package data for all recipes in the "world" target in the SDK. This allows the <code>devtool search</code> command to find these recipes in search results, as well as the <code>devtool add</code> command to map dependencies more effectively.</p>
            <p>Setting <code>SDK_INCLUDE_PKGDATA</code> to <code>1</code> significantly increases build time because all of "world" needs to be built. Enabling the variable also slightly increases the size of the SDK.</p>
            <a href="#">More about SDK_INCLUDE_PKGDATA in the SDK Developer's Guide</a>
          </div>
        </div>

        <div class="panel panel-default">
          <div class="panel-heading">
            <h3 class="panel-title">
              <a role="button" data-toggle="collapse" href="#sdk_update_url_help" aria-expanded="false" aria-controls="collapseExample">
                SDK_UPDATE_URL
              </a>
            </h3>
          </div>
          <div class="panel-body collapse" id="sdk_update_url_help">
            <p>Enables easy SDK updates for application developers. You will need to create a directory that can be shared over HTTP or HTTPS, and point <code>SDK_UPDATE_URL</code> to its URL. The SDK will default to that URL and application developers will simply need to issue the <code>devtool sdk-update</code> command to update their SDKs, withouth having to specify the URL.</p>
            <a href="#">More about SDK_UPDATE_URL in the SDK Developer's Guide</a>
          </div>
        </div>

        <div class="panel panel-default">
          <div class="panel-heading">
            <h3 class="panel-title">
              <a role="button" data-toggle="collapse" href="#sdk_publish_help" aria-expanded="false" aria-controls="collapseExample">
                Publish the SDK after each build
              </a>
            </h3>
          </div>
          <div class="panel-body collapse" id="sdk_publish_help">
            <p>To enable this option, you must first set the <code>SDK_UPDATE_URL</code> variable to the URL of a directory that can be shared via HTTP or HTTPS. Toaster will then issue the SDK publish command (<a href="#"><code>oe-publish-sdk</code></a>) after each build, making the latest SDK available from that URL. This way your application developers will be able to update the SDK easily, by issuing the <code>devtool sdk-update</code> command </p>
            <a href="#">More about providing SDK updates in the SDK Developer's Guide</a>
          </div>
        </div>

        <div class="panel panel-default">
          <div class="panel-heading">
            <h3 class="panel-title">
              <a role="button" data-toggle="collapse" href="#sdk_title_help" aria-expanded="false" aria-controls="collapseExample">
                SDK_TITLE
              </a>
            </h3>
          </div>
          <div class="panel-body collapse" id="sdk_title_help">
            <p>Specifies a title to be printed when running the SDK installer. The <code>SDK_TITLE</code> variable defaults to "<code>distro</code> Extensible SDK", where <code>distro</code> is the  value of the <code>DISTRO</code> or <code>DISTRO_NAME</code> variables.</p>
            <a href="#">More about SDK_TITLE in the Yocto Project Reference Manual</a>
          </div>
        </div>

        <div class="panel panel-default">
          <div class="panel-heading">
            <h3 class="panel-title">
              <a role="button" data-toggle="collapse" href="#sdk_local_conf_whitelist_help" aria-expanded="false" aria-controls="collapseExample">
                SDK_LOCAL_CONF_WHITELIST
              </a>
            </h3>
          </div>
          <div class="panel-body collapse" id="sdk_local_conf_whitelist_help">
            <p>The SDK primarily consists of a pre-configured copy of the OpenEmbedded build system from which it was produced. The SDK's configuration is derived from that build system plus a set of filters applied against <a href="#"><code>local.conf</code></a> and <a href="#"><code>auto.conf</code></a> if they are present. <code>SDK_LOCAL_CONF_WHITELIST</code> is one of those filters: variables listed in <code>SDK_LOCAL_CONF_WHITELIST</code> are included in the SDK configuration.</p>
            <a href="#">More about SDK_LOCAL_CONF_WHITELIST in the SDK Developer's Guide</a>
          </div>
        </div>

        <div class="panel panel-default">
          <div class="panel-heading">
            <h3 class="panel-title">
              <a role="button" data-toggle="collapse" href="#sdk_local_conf_blacklist_help" aria-expanded="false" aria-controls="collapseExample">
                SDK_LOCAL_CONF_BLACKLIST
              </a>
            </h3>
          </div>
          <div class="panel-body collapse" id="sdk_local_conf_blacklist_help">
            <p>The SDK primarily consists of a pre-configured copy of the OpenEmbedded build system from which it was produced. The SDK's configuration is derived from that build system plus a set of filters applied against <a href="#"><code>local.conf</code></a> and <a href="#"><code>auto.conf</code></a> if they are present. <code>SDK_LOCAL_CONF_BLACKLIST</code> is one of those filters: variables listed in <code>SDK_LOCAL_CONF_BLACKLIST</code> are excluded from the SDK configuration.</p>
            <p>The default value blacklists</p>
            <ul class="list-unstyled">
              <li><a href="#"><code>CONF_VERSION</code></a></li>
              <li><a href="#"><code>BB_NUMBER_THREADS</code></a></li>
              <li><a href="#"><code>PARALLEL_MAKE</code></a></li>
              <li><a href="#"><code>PRSERV_HOST</code></a> and</li>
              <li><a href="#"><code>SSTATE_MIRRORS</code></a></li>
            </ul>
            <a href="#">More about SDK_LOCAL_CONF_BLACKLIST in the SDK Developer's Guide</a>
          </div>
        </div>

        <div class="panel panel-default">
          <div class="panel-heading">
            <h3 class="panel-title">
              <a role="button" data-toggle="collapse" href="#sdk_inherit_blacklist_help" aria-expanded="false" aria-controls="collapseExample">
                SDK_INHERIT_BLACKLIST
              </a>
            </h3>
          </div>
          <div class="panel-body collapse" id="sdk_inherit_blacklist_help">
            <p>The SDK primarily consists of a pre-configured copy of the OpenEmbedded build system from which it was produced. The SDK's configuration is derived from that build system plus a set of filters applied against <a href="#"><code>local.conf</code></a> and <a href="#"><code>auto.conf</code></a> if they are present. <code>SDK_INHERIT_BLACKLIST</code> is one of those filters: classes inherited globally with <a href="#"><code>INHERIT</code></a> that are listed in <code>SDK_INHERIT_BLACKLIST</code> are disabled.</p>
            <p>The default value blacklists the <a href="#"><code>buildhistory</code></a> and <a href="#"><code>icecc</code></a> classes. </p>
            <a href="#">More about SDK_INHERIT_BLACKLIST in the SDK Developer's Guide</a>
          </div>
        </div>

        <div class="panel panel-default">
          <div class="panel-heading">
            <h3 class="panel-title">
              <a role="button" data-toggle="collapse" href="#sdk_recrdep_tasks_help" aria-expanded="false" aria-controls="collapseExample">
                SDK_RECRDEP_TASKS
              </a>
            </h3>
          </div>
          <div class="panel-body collapse" id="sdk_recrdep_tasks_help">
            <p>If you have classes or recipes that add additional tasks to the standard build flow (i.e. that execute as part of building the recipe as opposed to needing to be called explicitly), you need to ensure:</p>
            <ul>
              <li>The tasks are shared state tasks (i.e. their output is saved to and can be restored from the <a href="#">shared state cache</a>), or</li>
              <li>That the tasks are able to be produced quickly from a task that is a shared state task and add the task name to the value of <code>SDK_RECRDEP_TASKS</code>.</li>
            </ul>
            <a href="#">More about SDK_RECRDEP_TASKS in the SDK Developer's Guide</a>
          </div>
        </div>

        <div class="panel panel-default">
          <div class="panel-heading">
            <h3 class="panel-title">
              <a role="button" data-toggle="collapse" href="#oe_init_env_script_help" aria-expanded="false" aria-controls="collapseExample">
                OE_INIT_ENV_SCRIPT
              </a>
            </h3>
          </div>
          <div class="panel-body collapse" id="oe_init_env_script_help">
            <p>If your OpenEmbedded build system setup uses a different environment setup script other than <a href="#"><code>oe-init-build-env</code></a> or <a href="#"><code>oe-init-build-env-memres</code></a>, then you must set <code>OE_INIT_ENV_SCRIPT</code> to point to the environment setup script you use.</p>
            <p>You must also list the file in <a href="#"><code>COREBASE_FILES</code></a> so that it is copied into the SDK.</p>
            <a href="#">More about OE_INIT_ENV_SCRIPT in the SDK Developer's Guide</a>
          </div>
        </div>

        <div class="panel panel-default">
          <div class="panel-heading">
            <h3 class="panel-title">
              <a role="button" data-toggle="collapse" href="#corebase_files_help" aria-expanded="false" aria-controls="collapseExample">
                COREBASE_FILES
              </a>
            </h3>
          </div>
          <div class="panel-body collapse" id="corebase_files_help">
            <p>If you have adjusted the list of files and directories that appear in <a href="#"><code>COREBASE</code></a> (other than layers that are enabled through <a href="#"><code>bblayers.conf</code></a>), then you must list these files in <code>COREBASE_FILES</code> so that the files are copied into the SDK.</p>
            <a href="#">More about COREBASE_FILES in the SDK Developer's Guide</a>
          </div>
        </div>

      </div>
    </div>



</div>

  </div>

</div>

    </div>

    <script>
      $(document).ready(function() {

        // Show / hide the SDK_EXT_TYPE form
        $("#change-sdk_ext_type-icon, #change-sstate_mirrors-icon").click(function(){
          $("#change-sdk_ext_type-icon, #sdk_ext_type, #sstate_mirrors, #sstate_mirrors_label, #change-sstate_mirrors-icon").hide();
          $("#change-sdk_ext_type-form").slideDown();
        });

        $("#cancel-change-sdk_ext_type").click(function(){
          $("#change-sdk_ext_type-form").slideUp(function(){
            $("#change-sdk_ext_type-icon, #sdk_ext_type").fadeIn();
          });
        });

        // Show / hide SSTATE_MIRRORS as needed
        function showMirrors(){
          if ($('#minimal').is(':checked')) {
            $("#add-sstate_mirrors").fadeIn();
            $("#apply-change-sdk_ext_type").attr("disabled","disabled");
          }
          else {
            $("#add-sstate_mirrors").fadeOut();
            $("#apply-change-sdk_ext_type").removeAttr("disabled");
          }
        }

        showMirrors();

        $(":radio").change(function(){
          showMirrors();
        });

        // Enable SDK_EXT_TYPE button when you enter a mirror
        $("#new-sstate_mirrors").keyup(function(){
          if ( $("#new-sstate_mirrors").val() ) {
            $("#apply-change-sdk_ext_type").removeAttr("disabled");
          }
          else {
            $("#apply-change-sdk_ext_type").attr("disabled","disabled");
          }
        });

        // Save SDK_EXT_TYPE
        $("#apply-change-sdk_ext_type").click(function(){
          $("#change-sdk_ext_type-form").hide();
          if ($('#full').is(':checked')) {
            $("#sdk_ext_type").text("full");
            $("#sdk_include_pkgdata").hide().text("0").fadeIn();
            $("#sstate_mirrors, #sstate_mirrors_label, #change-sstate_mirrors-icon").fadeOut();
            $("#sdk_local_conf_whitelist").hide().addClass("text-muted").text("Not set").fadeIn();
            $("#delete-sdk_local_conf_whitelist-icon").fadeOut();
            $("#sdk_local_conf_blacklist").hide().html("CONF_VERSION BB_NUMBER_THREADS<br/>PARALLEL_MAKE PRSERV_HOST <br/>SSTATE_MIRRORS").fadeIn();            
          }
          else {
            var mirror = $("#new-sstate_mirrors").val();
            $("#sdk_ext_type").text("minimal");
            $("#sstate_mirrors").text(mirror).fadeIn();
            $("#sstate_mirrors").parent().fadeIn();
            $("#change-sstate_mirrors-icon").fadeIn();
            $("#sstate_mirrors_label").fadeIn();
            $("#sdk_include_pkgdata").hide().text("1").fadeIn();
            $("#sdk_local_conf_whitelist").hide().removeClass("text-muted").text("SSTATE_MIRRORS").fadeIn();
            $("#delete-sdk_local_conf_whitelist-icon").fadeIn();
            $("#sdk_local_conf_blacklist").hide().html("CONF_VERSION BB_NUMBER_THREADS<br/>PARALLEL_MAKE PRSERV_HOST").fadeIn();
          }
          $("#sdk_ext_type, #change-sdk_ext_type-icon").fadeIn();
        });

        // Show / hide the SDK_INCLUDE_PKGDATA form
        $("#change-sdk_include_pkgdata-icon").click(function(){
          var pkgdata = $("#sdk_include_pkgdata").text();
          if ( pkgdata === "1" ) {
            $("#1").attr("checked", true);
            $("#0").removeAttr("checked","checked");
          }
          else if ( pkgdata === "0" ) {
            $("#0").attr("checked", true);
            $("#1").removeAttr("checked","checked");
          }
          $("#change-sdk_include_pkgdata-icon, #sdk_include_pkgdata").hide();
          $("#change-sdk_include_pkgdata-form").slideDown();
        });

        $("#cancel-change-sdk_include_pkgdata").click(function(){
          $("#change-sdk_include_pkgdata-form").slideUp(function(){
            $("#change-sdk_include_pkgdata-icon, #sdk_include_pkgdata").fadeIn();
          });
        });

        // Save SDK_INCLUDE_PKGDATA
        $("#apply-change-sdk_include_pkgdata").click(function(){
          $("#change-sdk_include_pkgdata-form").hide();
          if ($('#1').is(':checked')) {
            $("#sdk_include_pkgdata").text("1");
          }
          else {
            $("#sdk_include_pkgdata").text("0");
          }
          $("#sdk_include_pkgdata, #change-sdk_include_pkgdata-icon").fadeIn();
        });

        // Show / hide the SDK_UPDATE_URL form
        $("#change-sdk_update_url-icon").click(function(){
          $("#change-sdk_update_url-icon, #sdk_update_url, #delete-sdk_update_url-icon").hide();
          $("#change-sdk_update_url-form").slideDown();
        });

        $("#cancel-change-sdk_update_url").click(function(){
          $("#change-sdk_update_url-form").slideUp(function(){
            $("#change-sdk_update_url-icon, #sdk_update_url").fadeIn();
          });
        });

        // enable save SDK_UPDATE_URL button when you fill the form
        $("#new-sdk_update_url").keyup(function(){
          if ( $(this).val() ) {
            $("#apply-change-sdk_update_url").removeAttr("disabled");
          }
          else {
            $("#apply-change-sdk_update_url").attr("disabled","disabled");
          }
        });

        // Save SDK_UPDATE_URL
        $("#apply-change-sdk_update_url").click(function(){
          var sdk_update_url = $("#new-sdk_update_url").val();
          $("#sdk_update_url").text(sdk_update_url).removeClass("text-muted");
          $("#change-sdk_update_url-form").hide();
          $("#sdk_update_url, #change-sdk_update_url-icon, #delete-sdk_update_url-icon").fadeIn();
          $("#publish-option").removeClass("disabled");
          $("#publish-option label").removeClass("text-muted");
          $("#publish-option input:checkbox").removeAttr("disabled");
          $("#publish-option .help-block").fadeOut();
        });

        // Delete SDK_UPDATE_URL
        $("#delete-sdk_update_url-icon").click(function(){
          $("#sdk_update_url, #change-sdk_update_url-icon, #delete-sdk_update_url-icon").fadeOut(function(){
            $("#sdk_update_url").text("Not set").addClass("text-muted");
            $("#sdk_update_url, #change-sdk_update_url-icon").fadeIn();
            $("#publish-option").addClass("disabled");
            $("#publish-option label").addClass("text-muted");
            $("#publish-option input:checkbox").removeAttr("checked").attr("disabled","disabled");
            $("#publish-option .help-block").fadeIn();
          });
        });

        // Show / hide the SDK_INHERIT_BLACKLIST form
        $("#change-sdk_inherit_blacklist-icon").click(function(){
          $("#change-sdk_inherit_blacklist-icon, #sdk_inherit_blacklist, #delete-sdk_inherit_blacklist-icon").hide();
          $("#change-sdk_inherit_blacklist-form").slideDown();
        });

        $("#cancel-change-sdk_inherit_blacklist").click(function(){
          $("#change-sdk_inherit_blacklist-form").slideUp(function(){
            $("#change-sdk_inherit_blacklist-icon, #sdk_inherit_blacklist, #delete-sdk_inherit_blacklist-icon").fadeIn();
          });
        });

      });
    </script>
  </body>
</html>