summaryrefslogtreecommitdiffstats
path: root/b2qt-init-build-env
diff options
context:
space:
mode:
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