From patchwork Wed Sep 4 08:55:59 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 272485 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 8572B2C00CF for ; Wed, 4 Sep 2013 18:59:31 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 38FB231EA5; Wed, 4 Sep 2013 08:59:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m5Kt19LopUML; Wed, 4 Sep 2013 08:59:16 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id BB4B131E21; Wed, 4 Sep 2013 08:59:16 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id B1B1E1BF9F2 for ; Wed, 4 Sep 2013 08:59:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id B12AA936DE for ; Wed, 4 Sep 2013 09:00:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jUxmmD17a7re for ; Wed, 4 Sep 2013 09:00:16 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (top.free-electrons.com [176.31.233.9]) by hemlock.osuosl.org (Postfix) with ESMTP id 1D981936D5 for ; Wed, 4 Sep 2013 09:00:16 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 414D3946; Wed, 4 Sep 2013 10:56:00 +0200 (CEST) Received: from localhost (col31-4-88-188-83-94.fbx.proxad.net [88.188.83.94]) by mail.free-electrons.com (Postfix) with ESMTPSA id D1D11846; Wed, 4 Sep 2013 10:55:59 +0200 (CEST) From: Thomas Petazzoni To: Buildroot List Date: Wed, 4 Sep 2013 10:55:59 +0200 Message-Id: <1378284959-546-1-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: References: Cc: Sagaert Johan Subject: [Buildroot] [PATCH] kmod: specify a separate set of dependencies for host-kmod X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net 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 Busybox. Specifying an explicit HOST_KMOD_DEPENDENCIES fixes this problem. Signed-off-by: Thomas Petazzoni Reported-by: Sagaert Johan --- package/kmod/kmod.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/kmod/kmod.mk b/package/kmod/kmod.mk index 9ac7731..169fca3 100644 --- a/package/kmod/kmod.mk +++ b/package/kmod/kmod.mk @@ -9,6 +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 # Some patches are touching configure.ac KMOD_AUTORECONF = YES