micropython-lib: needs pcre

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>
This commit is contained in:
Chris Packham 2017-01-24 23:14:22 +13:00 committed by Peter Korsgaard
parent 7ef4993889
commit 2b4d4db2a2
2 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
config BR2_PACKAGE_MICROPYTHON_LIB
bool "micropython-lib"
select BR2_PACKAGE_PCRE
depends on BR2_PACKAGE_MICROPYTHON
help
Core Python libraries ported to MicroPython.

View File

@ -8,6 +8,7 @@ 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) \