summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTuomas Heimonen <tuomas.heimonen@theqtcompany.com>2016-08-26 15:37:46 +0300
committerTuomas Heimonen <tuomas.heimonen@theqtcompany.com>2016-08-30 06:26:02 +0000
commit2a10f40a40bcfb5ff31397c8a2cac19113208488 (patch)
treed4869e866a6497a53235fa9d05daeca3e50dbce8
parent5211a9b15e2f98d876f6e451102696e0339df04d (diff)
downloadmeta-boot2qt-2a10f40a40bcfb5ff31397c8a2cac19113208488.tar.gz
Support for Raspberry Pi Zero
Change-Id: I925c77a4d1682fd1eefb6046efe05789f317a63c Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
-rwxr-xr-xb2qt-init-build-env2
-rw-r--r--conf/distro/include/raspberrypi0.conf37
-rwxr-xr-xscripts/setup-environment.sh2
3 files changed, 39 insertions, 2 deletions
diff --git a/b2qt-init-build-env b/b2qt-init-build-env
index 87d05f4..1f07d46 100755
--- a/b2qt-init-build-env
+++ b/b2qt-init-build-env
@@ -124,7 +124,7 @@ get_groups() {
124 beaglebone) 124 beaglebone)
125 PROJECT_GROUPS="bbb" 125 PROJECT_GROUPS="bbb"
126 ;; 126 ;;
127 raspberrypi|raspberrypi2|raspberrypi3) 127 raspberrypi0|raspberrypi|raspberrypi2|raspberrypi3)
128 PROJECT_GROUPS="rpi" 128 PROJECT_GROUPS="rpi"
129 ;; 129 ;;
130 intel-corei7-64) 130 intel-corei7-64)
diff --git a/conf/distro/include/raspberrypi0.conf b/conf/distro/include/raspberrypi0.conf
new file mode 100644
index 0000000..647e597
--- /dev/null
+++ b/conf/distro/include/raspberrypi0.conf
@@ -0,0 +1,37 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30include conf/distro/include/raspberrypi.inc
31
32DEPLOY_CONF_NAME = "Raspberry Pi Zero"
33
34DISTRO_FEATURES_remove = "webengine"
35
36# additional memory for GPU
37GPU_MEM = "128"
diff --git a/scripts/setup-environment.sh b/scripts/setup-environment.sh
index 5ee1ad0..8da1b94 100755
--- a/scripts/setup-environment.sh
+++ b/scripts/setup-environment.sh
@@ -74,7 +74,7 @@ if [ ! -f ${PWD}/${BUILDDIRECTORY}/conf/bblayers.conf ]; then
74 beaglebone) 74 beaglebone)
75 LAYERSCONF="bblayers.conf.bbb.sample" 75 LAYERSCONF="bblayers.conf.bbb.sample"
76 ;; 76 ;;
77 raspberrypi|raspberrypi2|raspberrypi3) 77 raspberrypi0|raspberrypi|raspberrypi2|raspberrypi3)
78 LAYERSCONF="bblayers.conf.rpi.sample" 78 LAYERSCONF="bblayers.conf.rpi.sample"
79 ;; 79 ;;
80 intel-corei7-64) 80 intel-corei7-64)