aboutsummaryrefslogtreecommitdiffstats
path: root/coin
diff options
context:
space:
mode:
authorMikko Gronoff <mikko.gronoff@qt.io>2020-03-02 15:29:43 +0200
committerMikko Gronoff <mikko.gronoff@qt.io>2020-03-03 10:01:21 +0200
commitde2ecaa13fde8f30b1a6558bbbbdfecfd3cd4bd8 (patch)
treeb54b8458598610eb4a405d62a9e9ab0b0087ec3e /coin
parentaf6cd54ed2b6d8834dbf09570dbe42460bd78b92 (diff)
coin: update module_config.yaml with meta-python2 support
Add meta-python2 layer now needed for building several modules Change-Id: I683897a1f727298bdec84b35e8bd8f1be10f8615 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Diffstat (limited to 'coin')
-rw-r--r--coin/module_config.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/coin/module_config.yaml b/coin/module_config.yaml
index e467be40..bcef3f92 100644
--- a/coin/module_config.yaml
+++ b/coin/module_config.yaml
@@ -22,6 +22,9 @@ environment: &environment
variableName: OE_SHA1
variableValue: b2baaae2711d098c06423858662e29a8375fe6b8
- type: EnvironmentVariable
+ variableName: PYTHON2_SHA1
+ variableValue: 8fc9be701d430388b4c5234c97e623debd26a1df
+ - type: EnvironmentVariable
variableName: MACHINE
variableValue: qemuarm64
enable_if:
@@ -142,6 +145,8 @@ build_instructions:
(cd poky; git checkout ${POKY_SHA1})
git clone git://github.com/openembedded/meta-openembedded --reference /mnt/yocto-cache/mirror/meta-openembedded.git
(cd meta-openembedded; git checkout ${OE_SHA1})
+ git clone git://git.openembedded.org/meta-python2 --reference /mnt/yocto-cache/mirror/meta-python2.git
+ (cd meta-python2; git checkout ${PYTHON2_SHA1})
source ./poky/oe-init-build-env
export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE SSTATE_DIR DL_DIR"
@@ -149,6 +154,7 @@ build_instructions:
export BB_GENERATE_MIRROR_TARBALLS=1
export SSTATE_DIR=/mnt/yocto-cache/sstate-caches/$(sed -n -e "s/DISTRO_CODENAME.*\"\(.*\)\"/\1/p" ../poky/meta-*/conf/distro/poky.conf)
bitbake-layers add-layer ../meta-openembedded/meta-oe
+ bitbake-layers add-layer ../meta-python2
bitbake-layers add-layer ${SOURCE_DIR}
echo 'require ../world_fixes.inc' >> conf/local.conf