Skip to content
Snippets Groups Projects
Commit 25f67236 authored by Andrii Sosiuk's avatar Andrii Sosiuk
Browse files

[CUSTOM][MACHINES] Multiple machine configurations for customer projects

  Previously, only a single configuration was supported per customer project.
  Some customers require separate setups for different machine types.
  This introduces multiple configurations, by setting the necessary variables.
  Currently, the supported machine types are limited to c57 and b98.
parent deb4e4d7
No related branches found
No related tags found
No related merge requests found
......@@ -234,6 +234,23 @@ release:
{% set KERNEL_FILE = "Image" %}
{% set AZURE_PATH = "raspberry/" + machine %}
{% endif %}
{% else %}
{# ============== Custom porojects =================== #}
{% if "b68" in machine %}
{% set PROCESSOR = "intel" %}
{% set MACHINE = "seco-intel-apl" %}
{% set DEFCONFIG = "seco_" + CUSTOM + "_intel_apl_edgehog" %}
{% set UBOOT_FILE = "none" %}
{% set KERNEL_FILE = "none" %}
{% set BUILD_DIR = "build_" + CUSTOM + "_" + machine %}
{% elif "c57" in machine %}
{% set PROCESSOR = "imx8qxp" %}
{% set MACHINE = "seco-imx8qxp-c57" %}
{% set DEFCONFIG = "seco_" + CUSTOM + "_c57_edgehog" %}
{% set KERNEL_FILE = "Image" %}
{% set UBOOT_FILE = "imx-boot" %}
{% set BUILD_DIR = "build_" + CUSTOM + "_" + machine %}
{% endif %}
{% endif %}
{% for distro in DISTRO.split(' ')%}
{% set ca_namespace = namespace(CUSTOM_ARTIFACTS="") %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment