summaryrefslogtreecommitdiffstats
path: root/b2qt-init-build-env
diff options
context:
space:
mode:
authoraavit <eirik.aavitsland@digia.com>2014-09-26 10:17:00 +0200
committerEirik Aavitsland <eirik.aavitsland@digia.com>2014-11-10 12:11:58 +0200
commit59f1923832b301df6743ed3fa0b92556aa68ffbd (patch)
tree4fb21fc0523696ba2a5ca96638e51afd7feeedb7 /b2qt-init-build-env
parentf309d05bccefc29977d474df734fecbe311f8f7b (diff)
downloadmeta-boot2qt-59f1923832b301df6743ed3fa0b92556aa68ffbd.tar.gz
Add Silica ArchiTech tibidabo board
Builds & runs ok! The current implementation is done with the strategy of using the vendor's defined repo versions for the yocto stack, instead of the common versions defined by b2qt. The intention is to build upon the vendor stack as closely as possible, as that is (hopefully) tested and maintained. Task-number: QTEE-801 Change-Id: Ib93b54178de870b5f288b2fae982ea2b4bb74e50 Reviewed-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Diffstat (limited to 'b2qt-init-build-env')
-rwxr-xr-xb2qt-init-build-env19
1 files changed, 19 insertions, 0 deletions
diff --git a/b2qt-init-build-env b/b2qt-init-build-env
index 1405bf4..8b7dee3 100755
--- a/b2qt-init-build-env
+++ b/b2qt-init-build-env
@@ -88,6 +88,9 @@ get_groups() {
88 imx53qsb|imx6qsabresd|nitrogen6x) 88 imx53qsb|imx6qsabresd|nitrogen6x)
89 PROJECT_GROUPS="fsl" 89 PROJECT_GROUPS="fsl"
90 ;; 90 ;;
91 tibidabo)
92 PROJECT_GROUPS="architech"
93 ;;
91 beagleboard|am335x-evm) 94 beagleboard|am335x-evm)
92 PROJECT_GROUPS="ti" 95 PROJECT_GROUPS="ti"
93 ;; 96 ;;
@@ -124,6 +127,20 @@ mirror() {
124 ${REPO} sync 127 ${REPO} sync
125} 128}
126 129
130patch_poky() {
131 cd sources/poky
132 found=$(git rev-list --grep="bitbake: cooker: add support for using % as a wildcard in bbappend filename" HEAD)
133 if [ -z "$found" ]; then
134 git cherry-pick 381d5920188398bc53b2454843054c8690bca243 > /dev/null
135 fi
136
137 found=$(git rev-list --grep="bitbake: cooker: Fix support for wildcards in bbappend filenames" HEAD)
138 if [ -z "$found" ]; then
139 git cherry-pick f91a3f46a1ee586e330be0868e8fbc4d2e78d361 > /dev/null
140 fi
141 cd -
142}
143
127init() { 144init() {
128 if [ -z "${DEVICE}" ]; then 145 if [ -z "${DEVICE}" ]; then
129 echo "device not defined" 146 echo "device not defined"
@@ -142,6 +159,8 @@ init() {
142 ${REPO} init -u ${PWD}/.repo/repo -b default -m ${MANIFEST} -g "${PROJECT_GROUPS}" ${REFERENCE} 159 ${REPO} init -u ${PWD}/.repo/repo -b default -m ${MANIFEST} -g "${PROJECT_GROUPS}" ${REFERENCE}
143 ${REPO} sync 160 ${REPO} sync
144 161
162 patch_poky
163
145 if [ ! -e "sources/meta-b2qt" ]; then 164 if [ ! -e "sources/meta-b2qt" ]; then
146 ln -s ${DIR} sources/meta-b2qt 165 ln -s ${DIR} sources/meta-b2qt
147 fi 166 fi