diff options
author | Samuli Piippo <samuli.piippo@digia.com> | 2014-02-11 10:18:30 +0200 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@digia.com> | 2014-02-12 09:34:52 +0200 |
commit | d0f0c374e07f0d748f3ad20b8350863394ae8283 (patch) | |
tree | 8b8a3c62c94e66b220314565295c240b4ebe550f | |
parent | 1d951aca19b0c65c79ee6239a95d28dbf467198a (diff) | |
download | meta-boot2qt-d0f0c374e07f0d748f3ad20b8350863394ae8283.tar.gz |
Changes to init script
- Move to root folder
- meta-ti and meta-raspberrypi now have dora branch
Change-Id: I1b88ead9c44b67243d9c69fd6a5a8a59c8232b97
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
-rwxr-xr-x | b2qt-init-build-env (renamed from scripts/b2qt-init-build-env) | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/b2qt-init-build-env b/b2qt-init-build-env index 43229e1..8c4da01 100755 --- a/scripts/b2qt-init-build-env +++ b/b2qt-init-build-env | |||
@@ -30,7 +30,7 @@ fi | |||
30 | 30 | ||
31 | mkdir -p ${1} | 31 | mkdir -p ${1} |
32 | 32 | ||
33 | DIR=$(readlink -f $(dirname $0)/..) | 33 | DIR=$(readlink -f $(dirname $0)) |
34 | BUILDDIR=$(readlink -f $1) | 34 | BUILDDIR=$(readlink -f $1) |
35 | 35 | ||
36 | if [ ! -d ${BUILDDIR}/poky ]; then | 36 | if [ ! -d ${BUILDDIR}/poky ]; then |
@@ -42,7 +42,7 @@ if [ ! -d ${BUILDDIR}/poky/meta-openembedded ]; then | |||
42 | fi | 42 | fi |
43 | 43 | ||
44 | if [ ! -d ${BUILDDIR}/poky/meta-ti ]; then | 44 | if [ ! -d ${BUILDDIR}/poky/meta-ti ]; then |
45 | git clone git://git.yoctoproject.org/meta-ti ${BUILDDIR}/poky/meta-ti -b master | 45 | git clone git://git.yoctoproject.org/meta-ti ${BUILDDIR}/poky/meta-ti -b dora |
46 | fi | 46 | fi |
47 | 47 | ||
48 | if [ ! -d ${BUILDDIR}/poky/meta-fsl-arm ]; then | 48 | if [ ! -d ${BUILDDIR}/poky/meta-fsl-arm ]; then |
@@ -54,7 +54,7 @@ if [ ! -d ${BUILDDIR}/poky/meta-fsl-arm-extra ]; then | |||
54 | fi | 54 | fi |
55 | 55 | ||
56 | if [ ! -d ${BUILDDIR}/poky/meta-raspberrypi ]; then | 56 | if [ ! -d ${BUILDDIR}/poky/meta-raspberrypi ]; then |
57 | git clone git://git.yoctoproject.org/meta-raspberrypi ${BUILDDIR}/poky/meta-raspberrypi -b master | 57 | git clone git://git.yoctoproject.org/meta-raspberrypi ${BUILDDIR}/poky/meta-raspberrypi -b dora |
58 | fi | 58 | fi |
59 | 59 | ||
60 | if [ ! -d ${BUILDDIR}/poky/meta-b2qt ]; then | 60 | if [ ! -d ${BUILDDIR}/poky/meta-b2qt ]; then |
@@ -65,10 +65,10 @@ echo | |||
65 | echo "Yocto build system is ready" | 65 | echo "Yocto build system is ready" |
66 | echo "next initialize the build env for your target machine, for example:" | 66 | echo "next initialize the build env for your target machine, for example:" |
67 | echo | 67 | echo |
68 | echo "cd ${BUILDDIR}/poky" | 68 | echo "cd ${BUILDDIR}" |
69 | echo "export TEMPLATECONF=${DIR}/conf" | 69 | echo "export TEMPLATECONF=meta-b2qt/conf" |
70 | echo "export MACHINE=raspberrypi" | 70 | echo "export MACHINE=raspberrypi" |
71 | echo ". ./oe-init-build-env" | 71 | echo ". ./poky/oe-init-build-env build-raspberrypi" |
72 | echo | 72 | echo |
73 | echo "and build B2Qt image with:" | 73 | echo "and build B2Qt image with:" |
74 | echo | 74 | echo |