summaryrefslogtreecommitdiffstats
path: root/scripts/setup-environment.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/setup-environment.sh')
-rwxr-xr-xscripts/setup-environment.sh38
1 files changed, 26 insertions, 12 deletions
diff --git a/scripts/setup-environment.sh b/scripts/setup-environment.sh
index 56aadc0..5ee1ad0 100755
--- a/scripts/setup-environment.sh
+++ b/scripts/setup-environment.sh
@@ -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
23while test -n "$1"; do 31while test -n "$1"; do
24 case "$1" in 32 case "$1" in
@@ -48,10 +56,10 @@ BUILDDIRECTORY=${BUILDDIRECTORY:-build-${MACHINE}}
48 56
49if [ ! -f ${PWD}/${BUILDDIRECTORY}/conf/bblayers.conf ]; then 57if [ ! -f ${PWD}/${BUILDDIRECTORY}/conf/bblayers.conf ]; then
50 case ${MACHINE} in 58 case ${MACHINE} in
51 apalis-imx6|colibri-imx6|colibri-vf) 59 apalis-imx6|colibri-imx6|colibri-vf|colibri-imx7)
52 LAYERSCONF="bblayers.conf.toradex.sample" 60 LAYERSCONF="bblayers.conf.toradex.sample"
53 ;; 61 ;;
54 imx53qsb|imx6qsabresd|imx6dlsabresd|nitrogen6x) 62 imx6qsabresd|imx6dlsabresd|nitrogen6x|imx7dsabresd)
55 LAYERSCONF="bblayers.conf.fsl.sample" 63 LAYERSCONF="bblayers.conf.fsl.sample"
56 ;; 64 ;;
57 smarc-samx6i) 65 smarc-samx6i)
@@ -66,15 +74,21 @@ if [ ! -f ${PWD}/${BUILDDIRECTORY}/conf/bblayers.conf ]; then
66 beaglebone) 74 beaglebone)
67 LAYERSCONF="bblayers.conf.bbb.sample" 75 LAYERSCONF="bblayers.conf.bbb.sample"
68 ;; 76 ;;
69 raspberrypi|raspberrypi2) 77 raspberrypi|raspberrypi2|raspberrypi3)
70 LAYERSCONF="bblayers.conf.rpi.sample" 78 LAYERSCONF="bblayers.conf.rpi.sample"
71 ;; 79 ;;
72 nuc) 80 intel-corei7-64)
73 LAYERSCONF="bblayers.conf.nuc.sample" 81 LAYERSCONF="bblayers.conf.intel.sample"
74 ;; 82 ;;
75 nvidia-logan) 83 nvidia-logan)
76 LAYERSCONF="bblayers.conf.nvidia-logan.sample" 84 LAYERSCONF="bblayers.conf.nvidia-logan.sample"
77 ;; 85 ;;
86 tegra-x1|tegra-t18x)
87 LAYERSCONF="bblayers.conf.nvidia-tegra.sample"
88 ;;
89 alt|gose|koelsch|lager|porter|silk|stout)
90 LAYERSCONF="bblayers.conf.rcar-gen2.sample"
91 ;;
78 emulator) 92 emulator)
79 LAYERSCONF="bblayers.conf.emulator.sample" 93 LAYERSCONF="bblayers.conf.emulator.sample"
80 ;; 94 ;;