From 1a1db54c309ac1509ddffd26da35313ac923202a Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Wed, 9 Feb 2022 17:50:49 +0100 Subject: [PATCH] package/libftdi1: drop python2 support Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN --- package/libftdi1/Config.in | 2 +- package/libftdi1/libftdi1.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libftdi1/Config.in b/package/libftdi1/Config.in index 2d32573563..ec91366115 100644 --- a/package/libftdi1/Config.in +++ b/package/libftdi1/Config.in @@ -24,7 +24,7 @@ comment "libftdipp1 needs a toolchain w/ C++, wchar" config BR2_PACKAGE_LIBFTDI1_PYTHON_BINDINGS bool "python bindings" - depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 + depends on BR2_PACKAGE_PYTHON3 help Python bindings for libftdi diff --git a/package/libftdi1/libftdi1.mk b/package/libftdi1/libftdi1.mk index 6688694b47..d2e3f42e14 100644 --- a/package/libftdi1/libftdi1.mk +++ b/package/libftdi1/libftdi1.mk @@ -24,7 +24,7 @@ LIBFTDI1_CONF_OPTS += -DFTDIPP=OFF endif ifeq ($(BR2_PACKAGE_LIBFTDI1_PYTHON_BINDINGS),y) -LIBFTDI1_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON),python,python3) host-swig +LIBFTDI1_DEPENDENCIES += python3 host-swig LIBFTDI1_CONF_OPTS += -DPYTHON_BINDINGS=ON else LIBFTDI1_CONF_OPTS += -DPYTHON_BINDINGS=OFF