[Buildroot] [git commit] kmod: python support works with python 3.x as well
Peter Korsgaard
peter at korsgaard.com
Fri Apr 11 22:58:01 UTC 2014
commit: http://git.buildroot.net/buildroot/commit/?id=9f049a8a877ac03365165c8717bbfc807ae158ab
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/kmod/kmod.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/kmod/kmod.mk b/package/kmod/kmod.mk
index 3987407..7cc2d65 100644
--- a/package/kmod/kmod.mk
+++ b/package/kmod/kmod.mk
@@ -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
More information about the buildroot
mailing list