package/libsoc: drop python2 support

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Peter Korsgaard 2022-02-09 17:50:53 +01:00 committed by Yann E. MORIN
parent ae86cd8dba
commit a642bb925d

View File

@ -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