From patchwork Sun Apr 8 08:12:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 896014 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=free.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="fze/C40t"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40JmQ71brgz9s29 for ; Sun, 8 Apr 2018 18:12:46 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id DB5FF88162; Sun, 8 Apr 2018 08:12:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N-t+WIEkLS7T; Sun, 8 Apr 2018 08:12:39 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 825BF88062; Sun, 8 Apr 2018 08:12:39 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 615D71C27D6 for ; Sun, 8 Apr 2018 08:12:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 5E07D22814 for ; Sun, 8 Apr 2018 08:12:38 +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 2pDQiRlXwmJ5 for ; Sun, 8 Apr 2018 08:12:37 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by silver.osuosl.org (Postfix) with ESMTPS id 423B522199 for ; Sun, 8 Apr 2018 08:12:37 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id r131so9848763wmb.2 for ; Sun, 08 Apr 2018 01:12:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=nrlNIWtttfqjsdG089Uw3cEKzW8peBpZpiM8du35pXM=; b=fze/C40tSR0otGD9cSGrVGtsWF/ZVjI+1AT8fcWqoH8NLpB5/qfJVS+boTLMEVoluh 7NCsD5d39aoHhgtH/uE9hCDe6PVr68egFhnInFRNbMfUSDzVfJFC2LQL7PZ1Ylw7b/S8 IOVCiYCCd0eyIQlowZ1gI16R+RfK8n39gDFt1F2qWMuwnMS3hIslspjKn5B+nUR0IhH7 vpfOOd+8ApoAbCLihCcZDQREcZIJhPEJj+IWI8ib+82IOh+6byOncCKNBRmZx/VxovBo UOwLOBI8lBuebkrhd7tl8jtWGE/dbR9cndYIzoYA/mKD/CvnM0Iy8D2EIRFw6euC7IKq ExCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=nrlNIWtttfqjsdG089Uw3cEKzW8peBpZpiM8du35pXM=; b=szzZM7GbUE7m+TE6Jo9q18xHEnlqDJFRx8w8b2O43q0x7f4FsYa4x0k9Shg+oPuqUu tFjeOasixJeCMxSpDvChiKRcmB+7TP/+M4eH7Ejw8LPWJjTA+WsRPEVkf8Lxtjn4oVca I2WRVCfDxgs/PpywcpiBgGZ/P+PRwKd9AIv6MgSfYaYCl3nyrYFvxNONbZthgZ3XJgMA 5lU9NhkMpSbGuiBgHHqIk5O3tRORKLwIgvZzXXCnpTn0SEjJ8BMEWhDbmp7CdsSQS49e +Kd6sXK0rFoxaO8HHWVeR7eVqkrTt8WuTV5iInme2EUAifoIiqQVFnUSfvDFcuBxtegL kZRA== X-Gm-Message-State: ALQs6tCx8/lKPxMUb2PmaoF5nLnUis3gvOgMlPwxkBasPWtyNmvuWYz2 RS7c6Aw1Iyv6xrBBZi6i6uED/Q== X-Google-Smtp-Source: AIpwx48TpfhlwxAugXGPmBeYHUjyNCEX8aB1lXAljG5xcn4jgtEsmcizi6RKqubIzK2Oyt6y/0XnDQ== X-Received: by 10.28.207.201 with SMTP id f192mr16190391wmg.148.1523175155409; Sun, 08 Apr 2018 01:12:35 -0700 (PDT) Received: from scaer.bzh.lan (2a01cb0886107300a556795e0851f8aa.ipv6.abo.wanadoo.fr. [2a01:cb08:8610:7300:a556:795e:851:f8aa]) by smtp.gmail.com with ESMTPSA id a19sm6171950wme.45.2018.04.08.01.12.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 08 Apr 2018 01:12:34 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Sun, 8 Apr 2018 10:12:31 +0200 Message-Id: <20180408081231.24250-1-yann.morin.1998@free.fr> X-Mailer: git-send-email 2.14.1 Subject: [Buildroot] [PATCH] package/kmod: enable compression in host variant X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Yann E. MORIN" MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" 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" Cc: Yegor Yefremov --- 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