All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/kmod - fix host build dependecies
@ 2020-05-03  6:51 Lucian Buga
  2020-05-03  7:54 ` Yann E. MORIN
  0 siblings, 1 reply; 7+ messages in thread
From: Lucian Buga @ 2020-05-03  6:51 UTC (permalink / raw)
  To: buildroot

When kernel is configured with CONFIG_MODULE_COMPRESS, host-kmod must
be built with zlib / xz support to be able to properly generate
dependency files for target.

Signed-off-by: Lucian Buga <lucianbuga@gmail.com>
---
 package/kmod/kmod.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/kmod/kmod.mk b/package/kmod/kmod.mk
index e2dfea5c7b..7149658ac7 100644
--- a/package/kmod/kmod.mk
+++ b/package/kmod/kmod.mk
@@ -35,11 +35,15 @@ endif
 ifeq ($(BR2_PACKAGE_ZLIB),y)
 KMOD_DEPENDENCIES += zlib
 KMOD_CONF_OPTS += --with-zlib
+HOST_KMOD_DEPENDENCIES += host-zlib
+HOST_KMOD_CONF_OPTS += --with-zlib
 endif
 
 ifeq ($(BR2_PACKAGE_XZ),y)
 KMOD_DEPENDENCIES += xz
 KMOD_CONF_OPTS += --with-xz
+HOST_KMOD_DEPENDENCIES += host-xz
+HOST_KMOD_CONF_OPTS += --with-xz
 endif
 
 ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y)
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-05-03 14:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-03  6:51 [Buildroot] [PATCH] package/kmod - fix host build dependecies Lucian Buga
2020-05-03  7:54 ` Yann E. MORIN
2020-05-03  9:13   ` Lucian Buga
2020-05-03 12:11     ` Yann E. MORIN
2020-05-03 12:20       ` Yann E. MORIN
2020-05-03 12:37         ` Yann E. MORIN
2020-05-03 14:02           ` Lucian Buga

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.