diff options
Diffstat (limited to 'b2qt-init-build-env')
-rwxr-xr-x | b2qt-init-build-env | 45 |
1 files changed, 30 insertions, 15 deletions
diff --git a/b2qt-init-build-env b/b2qt-init-build-env index c9c5f46..20b3d78 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 | ||
23 | set -e | 31 | set -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" |
@@ -151,7 +165,7 @@ mirror() { | |||
151 | mkdir -p .repo/manifests | 165 | mkdir -p .repo/manifests |
152 | cp ${DIR}/scripts/manifest.xml .repo/manifests/ | 166 | cp ${DIR}/scripts/manifest.xml .repo/manifests/ |
153 | MANIFEST="manifest.xml" | 167 | MANIFEST="manifest.xml" |
154 | ${REPO} init ${REPO_URL} -u ${PWD}/.repo/repo -b default -m ${MANIFEST} -g all --mirror | 168 | ${REPO} init ${REPO_URL} -u ${PWD}/.repo/repo -b default -m ${MANIFEST} -g external --mirror |
155 | ${REPO} sync | 169 | ${REPO} sync |
156 | } | 170 | } |
157 | 171 | ||
@@ -182,8 +196,9 @@ init() { | |||
182 | ln -s $(readlink -f ${DIR}/../meta-qt5) sources/meta-qt5 | 196 | ln -s $(readlink -f ${DIR}/../meta-qt5) sources/meta-qt5 |
183 | fi | 197 | fi |
184 | 198 | ||
185 | cp ${DIR}/scripts/setup-environment.sh . | 199 | if [ ! -e "setup-environment.sh" ]; then |
186 | 200 | ln -s ${DIR}/scripts/setup-environment.sh setup-environment.sh | |
201 | fi | ||
187 | } | 202 | } |
188 | 203 | ||
189 | get_repo | 204 | get_repo |