Skip to contentSkip to conversation

micropython: require python3 on the host

PATCH New Chris Packham 2 participants 2 messages Oct 20, 2019 – Oct 26, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 micropython: require python3 on the host

There are some scripts used when building micropython that require python3 on the build host. Use BR2_PYTHON3_HOST_DEPENDENCY so this can be either be satisfied by installing it on the build host or by building the host-python3 package.

Fixes:
- http://autobuild.buildroot.net/results/b85b2214576030026a8e04d142a77a2648379417/

---
 package/micropython/micropython.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/micropython/micropython.mk +1 -1
index 5824b4ab18..a5b8218d1f 100644
@@ -8,7 +8,7 @@ MICROPYTHON_VERSION = 1.11
 MICROPYTHON_SITE = $(call github,micropython,micropython,v$(MICROPYTHON_VERSION))
 MICROPYTHON_LICENSE = MIT
 MICROPYTHON_LICENSE_FILES = LICENSE
-MICROPYTHON_DEPENDENCIES = host-pkgconf libffi
+MICROPYTHON_DEPENDENCIES = host-pkgconf libffi $(BR2_PYTHON3_HOST_DEPENDENCY)
 
 # Set GIT_DIR so package won't use buildroot's version number
 MICROPYTHON_MAKE_ENV = \
Signature · 1 line
2.23.0
#1 lore raw

PATCH 1/1 micropython: require python3 on the host

Quoted 5 lines · On Sun, 20 Oct 2019 21:28:08 +1300 Chris Packham <[email protected]>…

There are some scripts used when building micropython that require python3 on the build host. Use BR2_PYTHON3_HOST_DEPENDENCY so this can be either be satisfied by installing it on the build host or by building the host-python3 package.

Quoted 7 lines

Fixes:
- http://autobuild.buildroot.net/results/b85b2214576030026a8e04d142a77a2648379417/

---
 package/micropython/micropython.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com