Browse Source

Merge pull request #3539 from sbreuss/master

micropython: update micropython and micropython-lib to v1.8.6
lilik-openwrt-22.03
Hannu Nyman 8 years ago
committed by GitHub
parent
commit
8a4a7e198c
3 changed files with 25 additions and 7 deletions
  1. +2
    -2
      lang/micropython-lib/Makefile
  2. +10
    -5
      lang/micropython/Makefile
  3. +13
    -0
      lang/micropython/patches/000-Makefile-no-errors

+ 2
- 2
lang/micropython-lib/Makefile View File

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=micropython-lib
PKG_VERSION=0.5-20151122-$(PKG_SOURCE_VERSION)
PKG_VERSION=1.8.6-$(PKG_SOURCE_VERSION)
PKG_RELEASE:=1
PKG_MAINTAINER:=Roger D <rogerdammit@gmail.com>
@ -17,7 +17,7 @@ PKG_LICENSE_FILES:=LICENSE
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/micropython/micropython-lib.git
PKG_SOURCE_VERSION:=9643541e6e89b96cb9785a618b19865f8c0f7215
PKG_SOURCE_VERSION:=f81e979c56dddb771ad36ec381b7f2c6cd12111f
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION)
PKG_SOURCE:=$(PKG_SOURCE_SUBDIR).tar.gz


+ 10
- 5
lang/micropython/Makefile View File

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=micropython
PKG_VERSION=1.5-20151122-$(PKG_SOURCE_VERSION)
PKG_VERSION=1.8.6-$(PKG_SOURCE_VERSION)
PKG_RELEASE:=1
PKG_MAINTAINER:=Roger D <rogerdammit@gmail.com>
@ -17,7 +17,7 @@ PKG_LICENSE_FILES:=LICENSE
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/micropython/micropython.git
PKG_SOURCE_VERSION:=4120f32292090bd811165fe76780e4e74e3450b9
PKG_SOURCE_VERSION:=5a1d63fc14dae788f705403a43c2d8639b7dd9cd
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_SOURCE_SUBDIR).tar.gz
@ -40,9 +40,14 @@ define Package/micropython/description
that is optimised to run on a microcontroller (and low power computers).
endef
MAKE_FLAGS += \
-C $(PKG_BUILD_DIR)/unix \
MICROPY_USE_READLINE=0
MAKE_FLAGS += -C $(PKG_BUILD_DIR)/unix
define Build/Compile
$(call Build/Compile/Default,axtls)
$(call Build/Compile/Default)
endef
define Package/micropython/install
$(INSTALL_DIR) $(1)/usr/bin


+ 13
- 0
lang/micropython/patches/000-Makefile-no-errors View File

@ -0,0 +1,13 @@
Index: micropython-1.5-20161117-e81a5353cb794b8d6c57317488e5db6a1c524755/unix/Makefile
===================================================================
--- micropython-1.5-20161117-e81a5353cb794b8d6c57317488e5db6a1c524755.orig/unix/Makefile 2016-11-17 02:43:13.000000000 +0100
+++ micropython-1.5-20161117-e81a5353cb794b8d6c57317488e5db6a1c524755/unix/Makefile 2016-11-17 16:49:02.937809018 +0100
@@ -21,7 +21,7 @@
INC += -I$(BUILD)
# compiler settings
-CWARN = -Wall -Werror
+CWARN = -Wall
CWARN += -Wpointer-arith -Wuninitialized
CFLAGS = $(INC) $(CWARN) -ansi -std=gnu99 -DUNIX $(CFLAGS_MOD) $(COPT) $(CFLAGS_EXTRA)

Loading…
Cancel
Save