blob: 58989f865c6896722312d7b22ba5ef20585e1fc3 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001{% extends "basebuildpage.html" %}
2{% load projecttags %}
3
Patrick Williamsf1e5d692016-03-30 15:21:19 -05004{% block title %} Configuration summary - {{build.target_set.all|dictsort:"target"|join:", "}} {{build.machine}} - {{build.project.name}} - Toaster {% endblock %}
Patrick Williamsc124f4f2015-09-15 14:41:29 -05005{% block localbreadcrumb %}
6<li>Configuration</li>
7{% endblock %}
8
Patrick Williamsc124f4f2015-09-15 14:41:29 -05009{% block buildinfomain %}
10<!-- page title -->
Patrick Williamsc0f7c042017-02-23 20:41:17 -060011<div class="col-md-10">
12
13 <div class="page-header build-data">
Patrick Williamsc124f4f2015-09-15 14:41:29 -050014 <h1>Configuration</h1>
15 </div>
Patrick Williamsc124f4f2015-09-15 14:41:29 -050016
17<!-- configuration table -->
Patrick Williamsc0f7c042017-02-23 20:41:17 -060018<div id="navTab">
19<ul class="nav nav-tabs">
Patrick Williamsc124f4f2015-09-15 14:41:29 -050020 <li class="active"><a href="#">Summary</a></li>
21 <li class=""><a href="{% url 'configvars' build.id %}">BitBake variables</a></li>
22</ul>
23
24 <!-- summary -->
25 <div id="summary" class="tab-pane active">
26 <h3>Build configuration</h3>
27 <dl class="dl-horizontal">
28 {%if BB_VERSION %}<dt>BitBake version</dt><dd>{{BB_VERSION}}</dd> {% endif %}
29 {%if BUILD_SYS %}<dt>Build system</dt><dd>{{BUILD_SYS}}</dd> {% endif %}
30 {%if NATIVELSBSTRING %}<dt>Host distribution</dt><dd>{{NATIVELSBSTRING}}</dd> {% endif %}
31 {%if TARGET_SYS %}<dt>Target system</dt><dd>{{TARGET_SYS}}</dd> {% endif %}
32 {%if MACHINE %}<dt>Machine</dt><dd>{{MACHINE}}</dd> {% endif %}
33 {%if DISTRO %}<dt>Distro</dt><dd>{{DISTRO}}</dd> {% endif %}
34 {%if DISTRO_VERSION %}<dt>Distro version</dt><dd>{{DISTRO_VERSION}}</dd> {% endif %}
35 {%if TUNE_FEATURES %}<dt>Tune features</dt><dd>{{TUNE_FEATURES}}</dd> {% endif %}
36 {%if TARGET_FPU %}<dt>Target FPU</dt><dd>{{TARGET_FPU}}</dd> {% endif %}
37 {%if targets.all %}<dt>Target(s)</dt>
Patrick Williamsc0f7c042017-02-23 20:41:17 -060038 <dd> <ul class="list-unstyled"> {% for target in targets.all %}
Patrick Williamsc124f4f2015-09-15 14:41:29 -050039 <li>{{target.target}}{%if forloop.counter > 1 %}<br>{% endif %}</li>
40 {% endfor %} </ul> </dd> {% endif %}
41 </dl>
42 <h3>Layers</h3>
Patrick Williamsc0f7c042017-02-23 20:41:17 -060043 <div class="row">
44 <div class="col-md-9 table-responsive">
45 <table class="table table-bordered table-hover">
46 <thead>
47 <tr>
48 <th>Layer</th>
49 <th>Layer branch</th>
50 <th>Layer commit</th>
51 </tr>
52 </thead>
53 <tbody>{% for lv in build.layer_version_build.all|dictsort:"layer.name" %}
54 <tr>
Patrick Williamsc124f4f2015-09-15 14:41:29 -050055 <td>{{lv.layer.name}}</td>
Patrick Williamsc0f7c042017-02-23 20:41:17 -060056 {% if lv.layer.local_source_dir %}
57 <td>
58 <span class="text-muted">Not applicable</span>
59 <span class="glyphicon glyphicon-question-sign get-help" data-original-title="" title="The source code of {{lv.layer.name}} is not in a Git repository, so there is no branch associated with it"> </span>
60 </td>
61 {% else %}
Patrick Williamsc124f4f2015-09-15 14:41:29 -050062 <td>{{lv.branch}}</td>
Patrick Williamsc0f7c042017-02-23 20:41:17 -060063 {% endif %}
64 {% if lv.layer.local_source_dir %}
65 <td>
66 <span class="text-muted">Not applicable</span>
67 <span class="glyphicon glyphicon-question-sign get-help" data-original-title="" title="The source code of {{lv.layer.name}} is not in a Git repository, so there is no commit associated with it"> </span>
68 </td>
69 {% else %}
70 <td> <a class="btn btn-default" data-content="<ul class='list-unstyled'>
71 <li>{{lv.commit}}</li> </ul>">
72 {{lv.commit|truncatechars:13}}
73 </a></td>
74 {% endif %}
75 </tr>{% endfor %}
76 </tbody>
77 </table>
78 </div>
Patrick Williamsc124f4f2015-09-15 14:41:29 -050079 </div>
80 </div>
81
Patrick Williamsc124f4f2015-09-15 14:41:29 -050082</div>
Patrick Williamsc0f7c042017-02-23 20:41:17 -060083
84</div> <!-- end of 10-column section -->
Patrick Williamsc124f4f2015-09-15 14:41:29 -050085{% endblock %}