package/evemu: 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:38 +01:00 committed by Yann E. MORIN
parent 1682e9b23b
commit 8af1b5df85

View File

@ -22,9 +22,9 @@ EVEMU_CONF_OPTS += --disable-tests
EVEMU_DEPENDENCIES = host-pkgconf libevdev
# Check for target python
ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y)
ifeq ($(BR2_PACKAGE_PYTHON3),y)
EVEMU_CONF_OPTS += --enable-python-bindings
EVEMU_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON3),python3,python)
EVEMU_DEPENDENCIES += python3
else
EVEMU_CONF_OPTS += --disable-python-bindings
endif