summaryrefslogtreecommitdiffstats
path: root/b2qt-init-build-env
diff options
context:
space:
mode:
Diffstat (limited to 'b2qt-init-build-env')
-rwxr-xr-xb2qt-init-build-env43
1 files changed, 29 insertions, 14 deletions
diff --git a/b2qt-init-build-env b/b2qt-init-build-env
index 184af7d..30166d1 100755
--- a/b2qt-init-build-env
+++ b/b2qt-init-build-env
@@ -1,24 +1,32 @@
1#!/bin/sh 1#!/bin/sh
2############################################################################## 2############################################################################
3## 3##
4## Copyright (C) 2016 The Qt Company Ltd. 4## Copyright (C) 2016 The Qt Company Ltd.
5## Contact: http://www.qt.io/licensing/ 5## Contact: https://www.qt.io/licensing/
6## 6##
7## This file is part of the Boot to Qt meta layer. 7## This file is part of the Boot to Qt meta layer.
8## 8##
9## $QT_BEGIN_LICENSE:COMM$ 9## $QT_BEGIN_LICENSE:GPL$
10##
11## Commercial License Usage 10## Commercial License Usage
12## Licensees holding valid commercial Qt licenses may use this file in 11## Licensees holding valid commercial Qt licenses may use this file in
13## accordance with the commercial license agreement provided with the 12## accordance with the commercial license agreement provided with the
14## Software or, alternatively, in accordance with the terms contained in 13## Software or, alternatively, in accordance with the terms contained in
15## a written agreement between you and The Qt Company. For licensing terms 14## a written agreement between you and The Qt Company. For licensing terms
16## and conditions see http://www.qt.io/terms-conditions. For further 15## and conditions see https://www.qt.io/terms-conditions. For further
17## information use the contact form at http://www.qt.io/contact-us. 16## information use the contact form at https://www.qt.io/contact-us.
17##
18## GNU General Public License Usage
19## Alternatively, this file may be used under the terms of the GNU
20## General Public License version 3 or (at your option) any later version
21## approved by the KDE Free Qt Foundation. The licenses are as published by
22## the Free Software Foundation and appearing in the file LICENSE.GPL3
23## included in the packaging of this file. Please review the following
24## information to ensure the GNU General Public License requirements will
25## be met: https://www.gnu.org/licenses/gpl-3.0.html.
18## 26##
19## $QT_END_LICENSE$ 27## $QT_END_LICENSE$
20## 28##
21############################################################################## 29############################################################################
22 30
23set -e 31set -e
24 32
@@ -98,10 +106,10 @@ get_groups() {
98 all) 106 all)
99 PROJECT_GROUPS="external" 107 PROJECT_GROUPS="external"
100 ;; 108 ;;
101 apalis-imx6|colibri-imx6|colibri-vf) 109 apalis-imx6|colibri-imx6|colibri-vf|colibri-imx7)
102 PROJECT_GROUPS="toradex" 110 PROJECT_GROUPS="toradex"
103 ;; 111 ;;
104 imx53qsb|imx6qsabresd|imx6dlsabresd|nitrogen6x) 112 imx6qsabresd|imx6dlsabresd|nitrogen6x|imx7dsabresd)
105 PROJECT_GROUPS="fsl" 113 PROJECT_GROUPS="fsl"
106 ;; 114 ;;
107 smarc-samx6i) 115 smarc-samx6i)
@@ -116,18 +124,24 @@ get_groups() {
116 beaglebone) 124 beaglebone)
117 PROJECT_GROUPS="bbb" 125 PROJECT_GROUPS="bbb"
118 ;; 126 ;;
119 raspberrypi|raspberrypi2) 127 raspberrypi|raspberrypi2|raspberrypi3)
120 PROJECT_GROUPS="rpi" 128 PROJECT_GROUPS="rpi"
121 ;; 129 ;;
122 nuc) 130 intel-corei7-64)
123 PROJECT_GROUPS="nuc" 131 PROJECT_GROUPS="intel"
124 ;; 132 ;;
125 nvidia-logan) 133 nvidia-logan)
126 PROJECT_GROUPS="nvidia-logan" 134 PROJECT_GROUPS="nvidia-logan"
127 ;; 135 ;;
136 tegra-x1|tegra-t18x)
137 PROJECT_GROUPS="nvidia-tegra"
138 ;;
128 emulator) 139 emulator)
129 PROJECT_GROUPS="emulator" 140 PROJECT_GROUPS="emulator"
130 ;; 141 ;;
142 alt|gose|koelsch|lager|porter|silk|stout)
143 PROJECT_GROUPS="renesas"
144 ;;
131 *) 145 *)
132 echo "Unknown device configuration, including all meta layers" 146 echo "Unknown device configuration, including all meta layers"
133 PROJECT_GROUPS="external" 147 PROJECT_GROUPS="external"
@@ -184,8 +198,9 @@ init() {
184 ln -s $(readlink -f ${DIR}/../meta-qt5) sources/meta-qt5 198 ln -s $(readlink -f ${DIR}/../meta-qt5) sources/meta-qt5
185 fi 199 fi
186 200
187 cp ${DIR}/scripts/setup-environment.sh . 201 if [ ! -e "setup-environment.sh" ]; then
188 202 ln -s ${DIR}/scripts/setup-environment.sh setup-environment.sh
203 fi
189} 204}
190 205
191get_repo 206get_repo