diff options
author | Kalle Viironen <kalle.viironen@digia.com> | 2014-02-21 12:08:34 +0200 |
---|---|---|
committer | Kalle Viironen <kalle.viironen@digia.com> | 2014-02-21 12:08:39 +0200 |
commit | a68e1ea9b2904f7c69330e534da877cf19376219 (patch) | |
tree | b3b6b17eea9ae44206226cc7d47f42841883020f /b2qt-init-build-env | |
parent | 48f7d2b6ef3939417a1bf291a82fa36660b213e6 (diff) | |
parent | ee2541cf756ddada9bd008b148267e2836d42450 (diff) | |
download | meta-boot2qt-a68e1ea9b2904f7c69330e534da877cf19376219.tar.gz |
Merge branch 'stable' into releaseQtEE_v2.0.0
* stable: (34 commits)
udev: disable udev-cache also for beagleboard
busybox: use ifplugd to enable hotplug networking
Move libgl workaround to libsdl
imx53: change to correct GPU driver package
emulator: don't build mesa with llvm anymore
Fix emulator hdd image building
emulator: alsa config to allow multiple source to play audio
hunspell: use multple checksums for hunspell srcs
Changes to init script
Add script to initialize yocto build env
Add missing copyright headers
Update copyright year to 2014
adb: use modprobe to load dependency modules
udev: disable udev-cache on beaglebone
Add support for BeagleBone Black
Recipe for hunspell
upgrade emulator components
gpu-viv-bin-mx6q: remove dependency to mesa
rpi: disable bbappend from meta-raspberrypi
Install all kernel modules
...
Change-Id: I7adca9894ee35092d546babb1926edbf06300feb
Diffstat (limited to 'b2qt-init-build-env')
-rwxr-xr-x | b2qt-init-build-env | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/b2qt-init-build-env b/b2qt-init-build-env new file mode 100755 index 0000000..8c4da01 --- /dev/null +++ b/b2qt-init-build-env | |||
@@ -0,0 +1,76 @@ | |||
1 | #!/bin/sh | ||
2 | ############################################################################# | ||
3 | ## | ||
4 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
5 | ## | ||
6 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
7 | ## framework. | ||
8 | ## | ||
9 | ## $QT_BEGIN_LICENSE$ | ||
10 | ## Commercial License Usage Only | ||
11 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
12 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
13 | ## may use this file in accordance with the terms contained in said license | ||
14 | ## agreement. | ||
15 | ## | ||
16 | ## For further information use the contact form at | ||
17 | ## http://qt.digia.com/contact-us. | ||
18 | ## | ||
19 | ## | ||
20 | ## $QT_END_LICENSE$ | ||
21 | ## | ||
22 | ############################################################################# | ||
23 | |||
24 | set -e | ||
25 | |||
26 | if [ $# -ne 1 ]; then | ||
27 | echo "Usage: $0 <yocto build directory>" | ||
28 | exit 1 | ||
29 | fi | ||
30 | |||
31 | mkdir -p ${1} | ||
32 | |||
33 | DIR=$(readlink -f $(dirname $0)) | ||
34 | BUILDDIR=$(readlink -f $1) | ||
35 | |||
36 | if [ ! -d ${BUILDDIR}/poky ]; then | ||
37 | git clone git://git.yoctoproject.org/poky ${BUILDDIR}/poky -b dora | ||
38 | fi | ||
39 | |||
40 | if [ ! -d ${BUILDDIR}/poky/meta-openembedded ]; then | ||
41 | git clone git://git.openembedded.org/meta-openembedded ${BUILDDIR}/poky/meta-openembedded -b dora | ||
42 | fi | ||
43 | |||
44 | if [ ! -d ${BUILDDIR}/poky/meta-ti ]; then | ||
45 | git clone git://git.yoctoproject.org/meta-ti ${BUILDDIR}/poky/meta-ti -b dora | ||
46 | fi | ||
47 | |||
48 | if [ ! -d ${BUILDDIR}/poky/meta-fsl-arm ]; then | ||
49 | git clone git://git.yoctoproject.org/meta-fsl-arm ${BUILDDIR}/poky/meta-fsl-arm -b dora | ||
50 | fi | ||
51 | |||
52 | if [ ! -d ${BUILDDIR}/poky/meta-fsl-arm-extra ]; then | ||
53 | git clone git://github.com/Freescale/meta-fsl-arm-extra.git ${BUILDDIR}/poky/meta-fsl-arm-extra -b dora | ||
54 | fi | ||
55 | |||
56 | if [ ! -d ${BUILDDIR}/poky/meta-raspberrypi ]; then | ||
57 | git clone git://git.yoctoproject.org/meta-raspberrypi ${BUILDDIR}/poky/meta-raspberrypi -b dora | ||
58 | fi | ||
59 | |||
60 | if [ ! -d ${BUILDDIR}/poky/meta-b2qt ]; then | ||
61 | ln -s ${DIR} ${BUILDDIR}/poky/meta-b2qt | ||
62 | fi | ||
63 | |||
64 | echo | ||
65 | echo "Yocto build system is ready" | ||
66 | echo "next initialize the build env for your target machine, for example:" | ||
67 | echo | ||
68 | echo "cd ${BUILDDIR}" | ||
69 | echo "export TEMPLATECONF=meta-b2qt/conf" | ||
70 | echo "export MACHINE=raspberrypi" | ||
71 | echo ". ./poky/oe-init-build-env build-raspberrypi" | ||
72 | echo | ||
73 | echo "and build B2Qt image with:" | ||
74 | echo | ||
75 | echo "bitbake b2qt-embedded-image" | ||
76 | echo | ||