@@ -1,6 +1,6 @@
config BR2_PACKAGE_PYTHON_SERIAL
bool "python-serial"
- depends on BR2_PACKAGE_PYTHON
+ depends on (BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3)
help
python-serial is a Python library to access serial ports.
@@ -8,7 +8,7 @@ PYTHON_SERIAL_VERSION = 2.6
PYTHON_SERIAL_SOURCE = pyserial-$(PYTHON_SERIAL_VERSION).tar.gz
PYTHON_SERIAL_SITE = http://pypi.python.org/packages/source/p/pyserial/
-PYTHON_SERIAL_DEPENDENCIES = python
+PYTHON_SERIAL_DEPENDENCIES = $(PYTHON_GENERIC_DEPENDENCIES)
define PYTHON_SERIAL_BUILD_CMDS
(cd $(@D); $(HOST_DIR)/usr/bin/python setup.py build)
Signed-off-by: Patrick Gerber <kpa_info@yahoo.fr> --- package/python-serial/Config.in | 2 +- package/python-serial/python-serial.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)