kmod: python support works with python 3.x as well

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Peter Korsgaard 2014-04-12 00:58:01 +02:00
parent 231d1ec17e
commit 9f049a8a87
1 changed files with 2 additions and 2 deletions

View File

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