And add optional support for the python bindings.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
#
################################################################################
-KMOD_VERSION = 16
+KMOD_VERSION = 17
KMOD_SOURCE = kmod-$(KMOD_VERSION).tar.xz
KMOD_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kernel/kmod/
KMOD_INSTALL_STAGING = YES
KMOD_CONF_OPT += --with-xz
endif
+ifeq ($(BR2_PACKAGE_PYTHON),y)
+KMOD_DEPENDENCIES += python
+KMOD_CONF_OPT += --enable-python
+endif
+
# --gc-sections triggers a bug in the current Xtensa binutils
ifeq ($(BR2_xtensa),y)
KMOD_CONF_ENV += cc_cv_LDFLAGS__Wl___gc_sections=no