Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/python-esptool: fix zlib module for python3
@ 2021-01-17 11:21 Bernd Kuhls
  2021-01-17 14:26 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2021-01-17 11:21 UTC (permalink / raw)
  To: buildroot

Fixes config with BR2_PACKAGE_PYTHON3=y

WARNING: unmet direct dependencies detected for BR2_PACKAGE_PYTHON_ZLIB
  Depends on [n]: BR2_PACKAGE_PYTHON [=n]
  Selected by [y]:
  - BR2_PACKAGE_PYTHON_ESPTOOL [=y] && (BR2_PACKAGE_PYTHON [=n] || BR2_PACKAGE_PYTHON3 [=y])

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/python-esptool/Config.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/python-esptool/Config.in b/package/python-esptool/Config.in
index 7d3579abdc..570f9aa42f 100644
--- a/package/python-esptool/Config.in
+++ b/package/python-esptool/Config.in
@@ -3,7 +3,8 @@ config BR2_PACKAGE_PYTHON_ESPTOOL
 	select BR2_PACKAGE_PYTHON_ECDSA # runtime
 	select BR2_PACKAGE_PYTHON_PYAES # runtime
 	select BR2_PACKAGE_PYTHON_SERIAL # runtime
-	select BR2_PACKAGE_PYTHON_ZLIB # runtime
+	select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON
+	select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3
 	help
 	  A serial utility to communicate & flash code to Espressif
 	  ESP8266 & ESP32 chips.
-- 
2.29.2

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

end of thread, other threads:[~2021-01-17 14:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-17 11:21 [Buildroot] [PATCH 1/1] package/python-esptool: fix zlib module for python3 Bernd Kuhls
2021-01-17 14:26 ` Thomas Petazzoni

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