aboutsummaryrefslogtreecommitdiff
path: root/package/micropython-lib/micropython-lib.mk
blob: 8c8b1426f0b9aa8b1984ee00cc3c0258a6dafb41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
################################################################################
#
# micropython-lib
#
################################################################################

MICROPYTHON_LIB_VERSION = v1.8.6
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
MICROPYTHON_LIB_DEPENDENCIES = pcre

define MICROPYTHON_LIB_INSTALL_TARGET_CMDS
	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
		PREFIX=$(TARGET_DIR)/usr/lib/micropython \
		install
endef

$(eval $(generic-package))