From a642bb925de97fb0afcbba0bee31bcb73d997c20 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Wed, 9 Feb 2022 17:50:53 +0100 Subject: [PATCH] package/libsoc: drop python2 support Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN --- package/libsoc/libsoc.mk | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/package/libsoc/libsoc.mk b/package/libsoc/libsoc.mk index bbc33143cc..95753b8b68 100644 --- a/package/libsoc/libsoc.mk +++ b/package/libsoc/libsoc.mk @@ -12,12 +12,8 @@ LIBSOC_AUTORECONF = YES LIBSOC_INSTALL_STAGING = YES LIBSOC_DEPENDENCIES = host-pkgconf -# Install Python 2 bindings -ifeq ($(BR2_PACKAGE_PYTHON),y) -LIBSOC_DEPENDENCIES += python -LIBSOC_CONF_OPTS += --enable-python=2 # Install Python 3 bindings -else ifeq ($(BR2_PACKAGE_PYTHON3),y) +ifeq ($(BR2_PACKAGE_PYTHON3),y) LIBSOC_DEPENDENCIES += python3 LIBSOC_CONF_OPTS += --enable-python=3 else