From: Lucian Buga <lucianbuga@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/kmod - fix host build dependecies
Date: Sun, 3 May 2020 09:51:10 +0300 [thread overview]
Message-ID: <20200503065110.7609-1-lucianbuga@gmail.com> (raw)
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
next reply other threads:[~2020-05-03 6:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-03 6:51 Lucian Buga [this message]
2020-05-03 7:54 ` [Buildroot] [PATCH] package/kmod - fix host build dependecies 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200503065110.7609-1-lucianbuga@gmail.com \
--to=lucianbuga@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.