From db9202ccc52a3ef360cd1918db9376a5cfa4b25f Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Sun, 15 Oct 2023 22:16:44 +0800 Subject: 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 --- lang/python/micropython-lib/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lang/python/micropython-lib/Makefile') 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 \ -- cgit