mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-02 21:48:20 +03:00
The micropython libs load libpcre dynamically using the foreign function interface (libffi). Without pcre the build will succeed but at run time anything that uses the 're' module will have issues. Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
20 lines
661 B
Makefile
20 lines
661 B
Makefile
################################################################################
|
|
#
|
|
# 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))
|