kmod: specify a separate set of dependencies for host-kmod

Submitted by Thomas Petazzoni on Sept. 4, 2013, 8:55 a.m.


Message ID
State Not Applicable
Headers show

Commit Message

Thomas Petazzoni Sept. 4, 2013, 8:55 a.m.
In the introduction of the host variant of kmod, no
HOST_KMOD_DEPENDENCIES was added, so the package infrastructure
assumes that it should use KMOD_DEPENDENCIES for the host variant,
after prefixing all the dependencies with 'host-'.

However, this doesn't work for kmod, since 'busybox' might be part of
the dependencies to ensure kmod gets built after busybox and is
therefore able to override the kernel module tools installed by

Specifying an explicit HOST_KMOD_DEPENDENCIES fixes this problem.

Signed-off-by: Thomas Petazzoni <>
Reported-by: Sagaert Johan <>
 package/kmod/ | 1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

diff --git a/package/kmod/ b/package/kmod/
index 9ac7731..169fca3 100644
--- a/package/kmod/
+++ b/package/kmod/
@@ -9,6 +9,7 @@  KMOD_SOURCE = kmod-$(KMOD_VERSION).tar.xz
 KMOD_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kernel/kmod/
 KMOD_DEPENDENCIES = host-pkgconf
 # Some patches are touching