summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xb2qt-init-build-env2
-rw-r--r--conf/distro/include/raspberrypi2.conf47
-rwxr-xr-xscripts/setup-environment.sh2
3 files changed, 49 insertions, 2 deletions
diff --git a/b2qt-init-build-env b/b2qt-init-build-env
index 686fdcf..cb40b6b 100755
--- a/b2qt-init-build-env
+++ b/b2qt-init-build-env
@@ -100,7 +100,7 @@ get_groups() {
100 beaglebone) 100 beaglebone)
101 PROJECT_GROUPS="bbb" 101 PROJECT_GROUPS="bbb"
102 ;; 102 ;;
103 raspberrypi) 103 raspberrypi|raspberrypi2)
104 PROJECT_GROUPS="rpi" 104 PROJECT_GROUPS="rpi"
105 ;; 105 ;;
106 emulator) 106 emulator)
diff --git a/conf/distro/include/raspberrypi2.conf b/conf/distro/include/raspberrypi2.conf
new file mode 100644
index 0000000..23b457a
--- /dev/null
+++ b/conf/distro/include/raspberrypi2.conf
@@ -0,0 +1,47 @@
1#############################################################################
2##
3## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
4##
5## This file is part of the Qt Enterprise Embedded Scripts of the Qt
6## framework.
7##
8## $QT_BEGIN_LICENSE$
9## Commercial License Usage Only
10## Licensees holding valid commercial Qt license agreements with Digia
11## with an appropriate addendum covering the Qt Enterprise Embedded Scripts,
12## may use this file in accordance with the terms contained in said license
13## agreement.
14##
15## For further information use the contact form at
16## http://www.qt.io/contact-us.
17##
18##
19## $QT_END_LICENSE$
20##
21#############################################################################
22
23BOOTFS_CONTENT = "\
24 bcm2835-bootfiles/*: \
25 ${KERNEL_IMAGETYPE}:kernel.img \
26 "
27BOOTFS_DEPENDS = "bcm2835-bootfiles:do_deploy virtual/kernel:do_deploy"
28
29PREFERRED_PROVIDER_virtual/libgles1 = "vc-graphics-hardfp"
30
31MACHINE_EXTRA_INSTALL = "\
32 vc-graphics-hardfp \
33 omxplayer \
34 "
35
36MACHINE_EXTRA_INSTALL_SDK = " \
37 vc-graphics-hardfp-dev \
38 "
39
40KERNEL_MODULE_AUTOLOAD += "snd-bcm2835 bcm2835-v4l2"
41KERNEL_MODULE_PROBECONF += "bcm2835-v4l2"
42module_conf_bcm2835-v4l2 = "options bcm2835-v4l2 gst_v4l2src_is_broken=1"
43
44# additional memory for GPU
45GPU_MEM = "256"
46# video camera support
47VIDEO_CAMERA = "1"
diff --git a/scripts/setup-environment.sh b/scripts/setup-environment.sh
index ad1405b..3439d90 100755
--- a/scripts/setup-environment.sh
+++ b/scripts/setup-environment.sh
@@ -64,7 +64,7 @@ if [ ! -f ${PWD}/${BUILDDIRECTORY}/conf/bblayers.conf ]; then
64 beaglebone) 64 beaglebone)
65 LAYERSCONF="bblayers.conf.bbb.sample" 65 LAYERSCONF="bblayers.conf.bbb.sample"
66 ;; 66 ;;
67 raspberrypi) 67 raspberrypi|raspberrypi2)
68 LAYERSCONF="bblayers.conf.rpi.sample" 68 LAYERSCONF="bblayers.conf.rpi.sample"
69 ;; 69 ;;
70 emulator) 70 emulator)