summaryrefslogtreecommitdiff
path: root/lang/python/micropython-lib/Makefile
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2023-10-15 22:16:44 +0800
committerRosen Penev <rosenp@gmail.com>2023-11-01 15:57:40 -0700
commitdb9202ccc52a3ef360cd1918db9376a5cfa4b25f (patch)
treec104b3fb258221a8b9d44c5bb8970312730c4792 /lang/python/micropython-lib/Makefile
parentdc52f47abbbba839fd89c84f4aacb74abd88757f (diff)
micropython: Update to 1.21.0, refresh/redo patches
Removed 050-py-stackctrl-fix-gcc-13.patch as it has been merged in the new version. This also: * Add STRIP= (empty value) to skip micropython's stripping step, letting the OpenWrt build system control stripping. * Add a workaround for "variable might be clobbered" warning leading to build error on riscv64 (https://github.com/micropython/micropython/issues/12838). * Change Build/InstallDev to install host tools into an unversioned directory, and update micropython-lib to use the unversioned path. There is no need to keep available multiple versions of the host tools. * Add a test.sh script for the packages feed CI. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/micropython-lib/Makefile')
-rw-r--r--lang/python/micropython-lib/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/lang/python/micropython-lib/Makefile b/lang/python/micropython-lib/Makefile
index 490e6e2e7..095b89010 100644
--- a/lang/python/micropython-lib/Makefile
+++ b/lang/python/micropython-lib/Makefile
@@ -24,7 +24,6 @@ PKG_BUILD_DEPENDS:=python3/host
PKG_BUILD_PARALLEL:=1
# keep in sync with micropython
-MP_VERSION:=1.20.0
MP_MPY_FILE_VERSION:=6
include $(INCLUDE_DIR)/package.mk
@@ -88,7 +87,7 @@ This contains source files for packages specific to the MicroPython Unix
port.
endef
-MP_INSTALLDEV_PATH:=$(STAGING_DIR)/host/lib/micropython-$(MP_VERSION)
+MP_INSTALLDEV_PATH:=$(STAGING_DIR)/host/lib/micropython
define MicroPythonLib/Compile
cd "$(PKG_BUILD_DIR)" && python3 tools/build.py \