2015-09-17 01:29:59 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# micropython-lib
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-01-24 11:14:23 +01:00
|
|
|
MICROPYTHON_LIB_VERSION = v1.8.6
|
2015-09-17 01:29:59 +02:00
|
|
|
MICROPYTHON_LIB_SITE = $(call github,micropython,micropython-lib,$(MICROPYTHON_LIB_VERSION))
|
2017-04-09 10:34:12 +02:00
|
|
|
MICROPYTHON_LIB_LICENSE = Python-2.0 (some modules), MIT (everything else)
|
2015-09-17 01:29:59 +02:00
|
|
|
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))
|