diff options
author | Mikko Gronoff <mikko.gronoff@qt.io> | 2020-03-02 15:29:43 +0200 |
---|---|---|
committer | Mikko Gronoff <mikko.gronoff@qt.io> | 2020-03-03 10:01:21 +0200 |
commit | de2ecaa13fde8f30b1a6558bbbbdfecfd3cd4bd8 (patch) | |
tree | b54b8458598610eb4a405d62a9e9ab0b0087ec3e | |
parent | af6cd54ed2b6d8834dbf09570dbe42460bd78b92 (diff) | |
download | meta-qt5-de2ecaa13fde8f30b1a6558bbbbdfecfd3cd4bd8.tar.gz |
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>
-rw-r--r-- | coin/module_config.yaml | 6 |
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 | |||
22 | variableName: OE_SHA1 | 22 | variableName: OE_SHA1 |
23 | variableValue: b2baaae2711d098c06423858662e29a8375fe6b8 | 23 | variableValue: b2baaae2711d098c06423858662e29a8375fe6b8 |
24 | - type: EnvironmentVariable | 24 | - type: EnvironmentVariable |
25 | variableName: PYTHON2_SHA1 | ||
26 | variableValue: 8fc9be701d430388b4c5234c97e623debd26a1df | ||
27 | - type: EnvironmentVariable | ||
25 | variableName: MACHINE | 28 | variableName: MACHINE |
26 | variableValue: qemuarm64 | 29 | variableValue: qemuarm64 |
27 | enable_if: | 30 | enable_if: |
@@ -142,6 +145,8 @@ build_instructions: | |||
142 | (cd poky; git checkout ${POKY_SHA1}) | 145 | (cd poky; git checkout ${POKY_SHA1}) |
143 | git clone git://github.com/openembedded/meta-openembedded --reference /mnt/yocto-cache/mirror/meta-openembedded.git | 146 | git clone git://github.com/openembedded/meta-openembedded --reference /mnt/yocto-cache/mirror/meta-openembedded.git |
144 | (cd meta-openembedded; git checkout ${OE_SHA1}) | 147 | (cd meta-openembedded; git checkout ${OE_SHA1}) |
148 | git clone git://git.openembedded.org/meta-python2 --reference /mnt/yocto-cache/mirror/meta-python2.git | ||
149 | (cd meta-python2; git checkout ${PYTHON2_SHA1}) | ||
145 | 150 | ||
146 | source ./poky/oe-init-build-env | 151 | source ./poky/oe-init-build-env |
147 | export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE SSTATE_DIR DL_DIR" | 152 | export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE SSTATE_DIR DL_DIR" |
@@ -149,6 +154,7 @@ build_instructions: | |||
149 | export BB_GENERATE_MIRROR_TARBALLS=1 | 154 | export BB_GENERATE_MIRROR_TARBALLS=1 |
150 | export SSTATE_DIR=/mnt/yocto-cache/sstate-caches/$(sed -n -e "s/DISTRO_CODENAME.*\"\(.*\)\"/\1/p" ../poky/meta-*/conf/distro/poky.conf) | 155 | export SSTATE_DIR=/mnt/yocto-cache/sstate-caches/$(sed -n -e "s/DISTRO_CODENAME.*\"\(.*\)\"/\1/p" ../poky/meta-*/conf/distro/poky.conf) |
151 | bitbake-layers add-layer ../meta-openembedded/meta-oe | 156 | bitbake-layers add-layer ../meta-openembedded/meta-oe |
157 | bitbake-layers add-layer ../meta-python2 | ||
152 | bitbake-layers add-layer ${SOURCE_DIR} | 158 | bitbake-layers add-layer ${SOURCE_DIR} |
153 | 159 | ||
154 | echo 'require ../world_fixes.inc' >> conf/local.conf | 160 | echo 'require ../world_fixes.inc' >> conf/local.conf |