micropython-lib: new packages

Core Python libraries ported to MicroPython.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Chris Packham 2015-09-17 11:29:59 +12:00 committed by Thomas Petazzoni
parent 9646e80fca
commit 21c7af2f66
3 changed files with 26 additions and 0 deletions

View File

@ -510,6 +510,7 @@ endmenu
endif
source "package/lutok/Config.in"
source "package/micropython/Config.in"
source "package/micropython-lib/Config.in"
source "package/moarvm/Config.in"
source "package/mono/Config.in"
if BR2_PACKAGE_MONO

View File

@ -0,0 +1,7 @@
config BR2_PACKAGE_MICROPYTHON_LIB
bool "micropython-lib"
depends on BR2_PACKAGE_MICROPYTHON
help
Core Python libraries ported to MicroPython.
http://micropython.org

View File

@ -0,0 +1,18 @@
################################################################################
#
# micropython-lib
#
################################################################################
MICROPYTHON_LIB_VERSION = v0.5
MICROPYTHON_LIB_SITE = $(call github,micropython,micropython-lib,$(MICROPYTHON_LIB_VERSION))
MICROPYTHON_LIB_LICENSE = Python software foundation license v2 (some modules), MIT (everything else)
MICROPYTHON_LIB_LICENSE_FILES = LICENSE
define MICROPYTHON_LIB_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
PREFIX=$(TARGET_DIR)/usr/lib/micropython \
install
endef
$(eval $(generic-package))