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/test.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 lang/python/micropython/test.sh (limited to 'lang/python/micropython/test.sh') diff --git a/lang/python/micropython/test.sh b/lang/python/micropython/test.sh new file mode 100644 index 000000000..82cf2ecd0 --- /dev/null +++ b/lang/python/micropython/test.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +nl=" +" + +micropython -c "import sys${nl}print(sys.version)" | grep -F " MicroPython v${PKG_VERSION} " -- cgit v1.2.3