Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • seco-ne/yocto/infrastructure/gitlab-ci
1 result
Show changes
Commits on Source (2)
...@@ -152,6 +152,8 @@ workflow: ...@@ -152,6 +152,8 @@ workflow:
- export MACHINE="${MACHINE}" - export MACHINE="${MACHINE}"
- export DISTRO="${YOCTO_DISTRO}" - export DISTRO="${YOCTO_DISTRO}"
- export EULA="1" - export EULA="1"
- echo "Enable SPDX License generation"
- export GENERATE_SPDX_LICENSES="true"
- source "${SETUP_SCRIPT}" "${BUILD_PATH}" - source "${SETUP_SCRIPT}" "${BUILD_PATH}"
.run_build: &run_build .run_build: &run_build
......
...@@ -207,6 +207,24 @@ ...@@ -207,6 +207,24 @@
{#- ------------------------------------------------------------------------------------------ -#} {#- ------------------------------------------------------------------------------------------ -#}
{%- set files = [] -%} {%- set files = [] -%}
{%- for file in FILES_machine -%} {%- for file in FILES_machine -%}
{%- if "spdx" in file.lower() -%}
{%- set _ = used_files.append(file) -%}
{%- set _ = files.append(file) -%}
{%- endif -%}
{%- endfor -%}
{%- if files -%}
<tr>
<th><b>Licensing</b></th>
<td>
{%- for file in files -%}
<a href="{{ file }}">🔽 {{ (file | basename) }}</a>{{ "<br/>" if not loop.last else "" }}
{%- endfor -%}
</td>
</tr>
{%- endif -%}
{#- ------------------------------------------------------------------------------------------ -#}
{%- set files = [] -%}
{%- for file in FILES_machine -%}
{%- if file not in used_files -%} {%- if file not in used_files -%}
{%- set _ = files.append(file) -%} {%- set _ = files.append(file) -%}
{%- endif -%} {%- endif -%}
......