package/kmod: 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:46 +01:00 committed by Yann E. MORIN
parent c1ba0b8757
commit 7f0c0f3bc2

View File

@ -62,8 +62,8 @@ else
KMOD_CONF_OPTS += --without-openssl
endif
ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y)
KMOD_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON),python,python3)
ifeq ($(BR2_PACKAGE_PYTHON3),y)
KMOD_DEPENDENCIES += python3
KMOD_CONF_OPTS += --enable-python
endif