Add VxWorks specific instructions

Adds VxWorks conditions to match target instructions
and sets env prefix to wrenv.

Change-Id: If9a8ffcdf4b60cc4b45eb2a336737d77d2f8804a
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
This commit is contained in:
Toni Saario 2023-09-29 17:03:40 +03:00
parent 9bed675df8
commit ea84c1a229
3 changed files with 17 additions and 6 deletions

View File

@ -20,7 +20,7 @@ instructions:
equals_property: target.os equals_property: target.os
- condition: property - condition: property
property: target.osVersion property: target.osVersion
not_in_values: [QEMU, WebAssembly, INTEGRITY] not_in_values: [QEMU, WebAssembly, INTEGRITY, VxWorks]
- condition: property - condition: property
property: features property: features
not_contains_value: "TargetBuildOnly" not_contains_value: "TargetBuildOnly"
@ -60,13 +60,13 @@ instructions:
enable_if: enable_if:
condition: property condition: property
property: target.osVersion property: target.osVersion
in_values: [Android_ANY, QEMU, IOS_ANY, QNX_710, WebAssembly, INTEGRITY] in_values: [Android_ANY, QEMU, IOS_ANY, QNX_710, WebAssembly, INTEGRITY, VxWorks]
enable_if: enable_if:
condition: or condition: or
conditions: conditions:
- condition: property - condition: property
property: target.osVersion property: target.osVersion
in_values: [Android_ANY, QEMU, IOS_ANY, QNX_710, WebAssembly, INTEGRITY] in_values: [Android_ANY, QEMU, IOS_ANY, QNX_710, WebAssembly, INTEGRITY, VxWorks]
- condition: and - condition: and
conditions: conditions:
- condition: property - condition: property

View File

@ -13,7 +13,7 @@ instructions:
equals_property: target.os equals_property: target.os
- condition: property - condition: property
property: target.osVersion property: target.osVersion
not_in_values: [QEMU, WebAssembly, INTEGRITY] not_in_values: [QEMU, WebAssembly, INTEGRITY, VxWorks]
- condition: property - condition: property
property: features property: features
not_contains_value: "TargetBuildOnly" not_contains_value: "TargetBuildOnly"
@ -51,13 +51,13 @@ instructions:
enable_if: enable_if:
condition: property condition: property
property: target.osVersion property: target.osVersion
in_values: [Android_ANY, QEMU, IOS_ANY, QNX_710, WebAssembly, INTEGRITY] in_values: [Android_ANY, QEMU, IOS_ANY, QNX_710, WebAssembly, INTEGRITY, VxWorks]
enable_if: enable_if:
condition: or condition: or
conditions: conditions:
- condition: property - condition: property
property: target.osVersion property: target.osVersion
in_values: [Android_ANY, QEMU, IOS_ANY, QNX_710, WebAssembly, INTEGRITY] in_values: [Android_ANY, QEMU, IOS_ANY, QNX_710, WebAssembly, INTEGRITY, VxWorks]
- condition: and - condition: and
conditions: conditions:
- condition: property - condition: property

View File

@ -340,6 +340,17 @@ instructions:
variableName: TARGET_ENV_PREFIX variableName: TARGET_ENV_PREFIX
variableValue: "c:\\users\\qt\\prefix.bat" variableValue: "c:\\users\\qt\\prefix.bat"
# VxWorks
- type: Group
enable_if:
condition: property
property: target.osVersion
equals_value: VxWorks
instructions:
- type: EnvironmentVariable
variableName: TARGET_ENV_PREFIX
variableValue: "{{.Env.VXWORKS_HOME}}/wrenv.linux"
# QNX variables # QNX variables
- type: Group - type: Group
enable_if: enable_if: