aboutsummaryrefslogtreecommitdiff
path: root/package/micropython-lib/micropython-lib.mk
blob: 478d6d690d75b174d7b5ac4ef3a652fd69bfc28a (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.2
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))