summaryrefslogtreecommitdiffstats
path: root/coin
diff options
context:
space:
mode:
authorMarianne Yrjänä <marianne.yrjana@qt.io>2020-12-01 16:07:03 +0200
committerMarianne Yrjänä <marianne.yrjana@qt.io>2021-01-11 15:02:09 +0200
commit2481d92c6e02b39bf69f48936444822fe333fc4e (patch)
tree1a6993d62613ecac78513f75785457a45744f138 /coin
parent9b1d769fd0497677ea026c76b8ad65aafacac692 (diff)
Prepare QNX env for cmake build
QTQAINFRA-3768 Change-Id: I5993acd282843095deba3d34006b7aa3e23db448 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io>
Diffstat (limited to 'coin')
-rw-r--r--coin/instructions/prepare_building_env.yaml35
1 files changed, 35 insertions, 0 deletions
diff --git a/coin/instructions/prepare_building_env.yaml b/coin/instructions/prepare_building_env.yaml
index edba3b0ebc..e389b6c1db 100644
--- a/coin/instructions/prepare_building_env.yaml
+++ b/coin/instructions/prepare_building_env.yaml
@@ -258,3 +258,38 @@ instructions:
condition: property
property: target.osVersion
equals_value: QEMU
+
+ # QNX variables
+ - type: Group
+ enable_if:
+ condition: property
+ property: target.os
+ equals_value: QNX
+ instructions:
+ - type: EnvironmentVariable
+ variableName: QNX_TARGET
+ variableValue: "{{.Env.QNX_710}}/target/qnx7"
+ - type: EnvironmentVariable
+ variableName: QNX_CONFIGURATION_EXCLUSIVE
+ variableValue: "{{.Env.QNX_710}}/.qnx"
+ - type: EnvironmentVariable
+ variableName: QNX_CONFIGURATION
+ variableValue: "{{.Env.QNX_710}}/.qnx"
+ - type: PrependToEnvironmentVariable
+ variableName: PATH
+ variableValue: "{{.Env.QNX_710}}/host/linux/x86_64/usr/bin:"
+ - type: PrependToEnvironmentVariable
+ variableName: PATH
+ variableValue: "{{.Env.QNX_710}}/host/common/bin:"
+ - type: PrependToEnvironmentVariable
+ variableName: PATH
+ variableValue: "{{.Env.QNX_710}}/.qnx:"
+ - type: EnvironmentVariable
+ variableName: QNX_HOST
+ variableValue: "{{.Env.QNX_710}}/host/linux/x86_64"
+ enable_if:
+ condition: property
+ property: host.os
+ equals_value: Linux
+
+