python-serial: allow to build with Python 3
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 18 Feb 2014 20:40:10 +0000 (21:40 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 19 Feb 2014 08:01:49 +0000 (09:01 +0100)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/python-serial/Config.in

index df26af14ccc4c6652fbd115b2f7574e38a337947..72f556756ab66b0cea146fc081f920baa9b9d6cc 100644 (file)
@@ -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.