From: Peter Korsgaard Date: Fri, 11 Apr 2014 22:58:01 +0000 (+0200) Subject: kmod: python support works with python 3.x as well X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9f049a8a877ac03365165c8717bbfc807ae158ab;p=buildroot.git kmod: python support works with python 3.x as well Signed-off-by: Peter Korsgaard --- 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