![Blomme, Maarten](/assets/img/avatar_default.png)
(With correct formatting now) The build step now requires building mpy-cross first. Signed-off-by: Blomme, Maarten <Maarten.Blomme@flir.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
19 lines
598 B
Makefile
19 lines
598 B
Makefile
################################################################################
|
|
#
|
|
# micropython-lib
|
|
#
|
|
################################################################################
|
|
|
|
MICROPYTHON_LIB_VERSION = v1.9.3
|
|
MICROPYTHON_LIB_SITE = $(call github,micropython,micropython-lib,$(MICROPYTHON_LIB_VERSION))
|
|
MICROPYTHON_LIB_LICENSE = Python-2.0 (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))
|