package/nftables: 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 22:08:40 +01:00
committed by Yann E. MORIN
parent 02a0676803
commit e45321b19c
+2 -2
View File
@@ -35,9 +35,9 @@ else
NFTABLES_CONF_OPTS += --without-json
endif
ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y)
ifeq ($(BR2_PACKAGE_PYTHON3),y)
NFTABLES_CONF_OPTS += --enable-python
NFTABLES_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON),python,python3)
NFTABLES_DEPENDENCIES += python3
else
NFTABLES_CONF_OPTS += --disable-python
endif