aboutsummaryrefslogtreecommitdiff
path: root/package/micropython-lib/micropython-lib.mk
blob: a4a6cf6b0f54a9ec4a77aeb1e56933f2225fa89d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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))