[Buildroot] [PATCH] package/kmod: enable compression in host variant
Yann E. MORIN
yann.morin.1998 at free.fr
Sun Apr 8 08:12:31 UTC 2018
When the modules are compressed by the kernel at install, it needs a
depmod with compression support to br able to generate the modules.dep
and associated files.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Cc: Yegor Yefremov <yegorslists at googlemail.com>
---
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 e1149b7b65..c6264e16ab 100644
--- a/package/kmod/kmod.mk
+++ b/package/kmod/kmod.mk
@@ -9,7 +9,7 @@ KMOD_SOURCE = kmod-$(KMOD_VERSION).tar.xz
KMOD_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kernel/kmod
KMOD_INSTALL_STAGING = YES
KMOD_DEPENDENCIES = host-pkgconf
-HOST_KMOD_DEPENDENCIES = host-pkgconf
+HOST_KMOD_DEPENDENCIES = host-pkgconf host-xz host-zlib
# license info for libkmod only, conditionally add more below
KMOD_LICENSE = LGPL-2.1+ (library)
@@ -26,7 +26,7 @@ endif
KMOD_CONF_OPTS = --disable-static --enable-shared
KMOD_CONF_OPTS += --disable-manpages
-HOST_KMOD_CONF_OPTS = --disable-manpages
+HOST_KMOD_CONF_OPTS = --disable-manpages --with-xz --with-zlib
ifeq ($(BR2_PACKAGE_ZLIB),y)
KMOD_DEPENDENCIES += zlib
--
2.14.1
More information about the buildroot
mailing list