From 9f049a8a877ac03365165c8717bbfc807ae158ab Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Sat, 12 Apr 2014 00:58:01 +0200 Subject: [PATCH] kmod: python support works with python 3.x as well Signed-off-by: Peter Korsgaard --- package/kmod/kmod.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kmod/kmod.mk b/package/kmod/kmod.mk index 398740712c..7cc2d655e9 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 -- 2.30.2