aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Chris Packham <judge.packham@gmail.com>2017-01-25 20:24:47 +1300
committerGravatar Peter Korsgaard <peter@korsgaard.com>2017-01-25 22:38:30 +0100
commitf923eed010061f1d3c26332cb681f6d54c44225e (patch)
tree6c914f1512b585cf4a9f0851e4e6f3567067afea
parent6f2e55021dedad34e13608be43423ecae4e8b661 (diff)
downloadbuildroot-f923eed010061f1d3c26332cb681f6d54c44225e.tar.gz
buildroot-f923eed010061f1d3c26332cb681f6d54c44225e.tar.bz2
micropython-lib: Indicate that pcre is a runtime dependency
libpcre is needed at runtime not a buildtime. Indicate this in Config.in and remove MICROPYTHON_LIB_DEPENDENCIES. Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/micropython-lib/Config.in2
-rw-r--r--package/micropython-lib/micropython-lib.mk1
2 files changed, 1 insertions, 2 deletions
diff --git a/package/micropython-lib/Config.in b/package/micropython-lib/Config.in
index be8c875626..599af7797b 100644
--- a/package/micropython-lib/Config.in
+++ b/package/micropython-lib/Config.in
@@ -1,6 +1,6 @@
config BR2_PACKAGE_MICROPYTHON_LIB
bool "micropython-lib"
- select BR2_PACKAGE_PCRE
+ select BR2_PACKAGE_PCRE # runtime
depends on BR2_PACKAGE_MICROPYTHON
help
Core Python libraries ported to MicroPython.
diff --git a/package/micropython-lib/micropython-lib.mk b/package/micropython-lib/micropython-lib.mk
index 8c8b1426f0..066572e5cf 100644
--- a/package/micropython-lib/micropython-lib.mk
+++ b/package/micropython-lib/micropython-lib.mk
@@ -8,7 +8,6 @@ MICROPYTHON_LIB_VERSION = v1.8.6
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) \