mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 08:14:09 -09:00
kmod: python support works with python 3.x as well
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
@@ -32,8 +32,8 @@ KMOD_DEPENDENCIES += xz
|
||||
KMOD_CONF_OPT += --with-xz
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
||||
KMOD_DEPENDENCIES += python
|
||||
ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y)
|
||||
KMOD_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON),python,python3)
|
||||
KMOD_CONF_OPT += --enable-python
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user