Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] Added support for hashlib in the target Python
@ 2012-08-13 14:19 Avishay Orpaz
  2012-08-13 14:19 ` [Buildroot] [PATCH 2/2] rdiff-backup: new package Avishay Orpaz
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Avishay Orpaz @ 2012-08-13 14:19 UTC (permalink / raw)
  To: buildroot

---
 package/python/Config.in |    6 ++++++
 package/python/python.mk |    4 ++++
 2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/package/python/Config.in b/package/python/Config.in
index 11aa267..65aac23 100644
--- a/package/python/Config.in
+++ b/package/python/Config.in
@@ -93,6 +93,12 @@ config BR2_PACKAGE_PYTHON_ZLIB
 	help
 	  zlib support in Python
 
+config BR2_PACKAGE_PYTHON_HASHLIB
+	bool "hashlib module"
+	select BR2_PACKAGE_OPENSSL
+	help
+	  hashlib support in Python
+
 endmenu
 
 endif
diff --git a/package/python/python.mk b/package/python/python.mk
index fae4e5c..0584a5a 100644
--- a/package/python/python.mk
+++ b/package/python/python.mk
@@ -110,6 +110,10 @@ else
 PYTHON_CONF_OPT += --disable-zlib
 endif
 
+ifeq ($(BR2_PACKAGE_PYTHON_HASHLIB),y)
+PYTHON_DEPENDENCIES += openssl
+endif
+
 PYTHON_CONF_ENV += \
 	PYTHON_FOR_BUILD=$(HOST_PYTHON_DIR)/python \
 	PGEN_FOR_BUILD=$(HOST_PYTHON_DIR)/Parser/pgen \
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-05-03 12:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-13 14:19 [Buildroot] [PATCH 1/2] Added support for hashlib in the target Python Avishay Orpaz
2012-08-13 14:19 ` [Buildroot] [PATCH 2/2] rdiff-backup: new package Avishay Orpaz
2013-03-24 12:30 ` [Buildroot] [PATCH 1/2] Added support for hashlib in the target Python Gustavo Zacarias
2013-05-03 12:38 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox