summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2019-03-29 14:41:45 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-03-30 07:43:18 +0100
commit23d291e4d293613116feb98727f1b1f85b9ebc59 (patch)
tree2814cc78e89100a79ea3ffdbfaa2938d89551272
parent3f03ec303dd5be111ba6c11c5d519dd86e33999c (diff)
downloadptxdist-23d291e4d293613116feb98727f1b1f85b9ebc59.tar.gz
ptxdist-23d291e4d293613116feb98727f1b1f85b9ebc59.tar.xz
python3: hashlib needs openssl
Extend the option description to indicate this and don't install the hashlib files if the ssl support is disabled. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/python3.in2
-rw-r--r--rules/python3.make2
2 files changed, 2 insertions, 2 deletions
diff --git a/rules/python3.in b/rules/python3.in
index 916a2c494..ebdc35c82 100644
--- a/rules/python3.in
+++ b/rules/python3.in
@@ -53,7 +53,7 @@ config PYTHON3_SQLITE
bool "sqlite bindings"
config PYTHON3_SSL
- bool "ssl bindings"
+ bool "ssl & hashlib bindings"
config PYTHON3_SYMLINK
depends on !PYTHON_SYMLINK
diff --git a/rules/python3.make b/rules/python3.make
index dbe6d0356..052404448 100644
--- a/rules/python3.make
+++ b/rules/python3.make
@@ -151,7 +151,7 @@ PYTHON3_SKIP-$(call ptx/opt-dis, PTXCONF_PYTHON3_LZMA) += */lzma.pyc */_lzma*.s
PYTHON3_SKIP-$(call ptx/opt-dis, PTXCONF_PYTHON3_NCURSES) += */curses */_curses*.so
PYTHON3_SKIP-$(call ptx/opt-dis, PTXCONF_PYTHON3_READLINE) += */readline*so
PYTHON3_SKIP-$(call ptx/opt-dis, PTXCONF_PYTHON3_SQLITE) += */sqlite3 */_sqlite3*.so
-PYTHON3_SKIP-$(call ptx/opt-dis, PTXCONF_PYTHON3_SSL) += */ssl.pyc */_ssl*.so
+PYTHON3_SKIP-$(call ptx/opt-dis, PTXCONF_PYTHON3_SSL) += */ssl.pyc */_ssl*.so */hashlib.pyc */_hashlib*.so
PYTHON3_SKIP-$(call ptx/opt-dis, PTXCONF_PYTHON3_LIBTK) += */tkinter
PYTHON3_SKIP-$(call ptx/opt-dis, PTXCONF_PYTHON3_IDLELIB) += */idlelib
PYTHON3_SKIP-$(call ptx/opt-dis, PTXCONF_PYTHON3_DISTUTILS) += */distutils