diff --git a/package/kmod/kmod.mk b/package/kmod/kmod.mk index f819d0eb8e..f79a492847 100644 --- a/package/kmod/kmod.mk +++ b/package/kmod/kmod.mk @@ -15,13 +15,13 @@ HOST_KMOD_DEPENDENCIES = host-pkgconf KMOD_LICENSE = LGPLv2.1+ KMOD_LICENSE_FILES = libkmod/COPYING -KMOD_CONF_OPT += --disable-manpages -HOST_KMOD_CONF_OPT = --disable-manpages - # static linking not supported, see # https://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/commit/?id=b7016153ec8 KMOD_CONF_OPT = --disable-static --enable-shared +KMOD_CONF_OPT += --disable-manpages +HOST_KMOD_CONF_OPT = --disable-manpages + ifeq ($(BR2_PACKAGE_ZLIB),y) KMOD_DEPENDENCIES += zlib KMOD_CONF_OPT += --with-zlib