From 2481d92c6e02b39bf69f48936444822fe333fc4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marianne=20Yrj=C3=A4n=C3=A4?= Date: Tue, 1 Dec 2020 16:07:03 +0200 Subject: [PATCH] Prepare QNX env for cmake build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit QTQAINFRA-3768 Change-Id: I5993acd282843095deba3d34006b7aa3e23db448 Reviewed-by: Heikki Halmet Reviewed-by: Simo Fält --- coin/instructions/prepare_building_env.yaml | 35 +++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/coin/instructions/prepare_building_env.yaml b/coin/instructions/prepare_building_env.yaml index edba3b0ebce..e389b6c1dbf 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 + +