From patchwork Tue Jun 4 02:03:35 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Danomi Manchego X-Patchwork-Id: 248456 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 8C4172C007A for ; Tue, 4 Jun 2013 12:04:33 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 3E38B31F36; Tue, 4 Jun 2013 02:04:32 +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 0idHyeREJybL; Tue, 4 Jun 2013 02:04:27 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id A3AA23205C; Tue, 4 Jun 2013 02:04:17 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id CAA078F7A2 for ; Tue, 4 Jun 2013 02:03:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B2E118D160 for ; Tue, 4 Jun 2013 02:03:50 +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 PFRM7LWJ15tm for ; Tue, 4 Jun 2013 02:03:46 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from qmta03.westchester.pa.mail.comcast.net (qmta03.westchester.pa.mail.comcast.net [76.96.62.32]) by whitealder.osuosl.org (Postfix) with ESMTP id BD69F8D266 for ; Tue, 4 Jun 2013 02:03:45 +0000 (UTC) Received: from omta22.westchester.pa.mail.comcast.net ([76.96.62.73]) by qmta03.westchester.pa.mail.comcast.net with comcast id k0GM1l0041ap0As5323ku8; Tue, 04 Jun 2013 02:03:44 +0000 Received: from localhost.localdomain ([68.37.48.40]) by omta22.westchester.pa.mail.comcast.net with comcast id k23e1l00v0s1VyU3i23kfa; Tue, 04 Jun 2013 02:03:44 +0000 From: Danomi Manchego To: buildroot@busybox.net Date: Mon, 3 Jun 2013 22:03:35 -0400 Message-Id: <1370311415-1966-7-git-send-email-danomimanchego123@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1370311415-1966-1-git-send-email-danomimanchego123@gmail.com> References: <1370311415-1966-1-git-send-email-danomimanchego123@gmail.com> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1370311424; bh=IStIt7cf2eapk8O0CPEzDrBewDBE3qfdKkby5btGgTU=; h=Received:Received:From:To:Subject:Date:Message-Id; b=NVQUURvO+/f0ogVfSu4uxiALYhPY9uPEncoVVhDyytB8711dk64TskPNH3xYHVtss 5M4+nLAKIs5uphzwOKpc78QfOSZPZdVvvovvInP3NuwQvWfP9yH9eF2dbQOYWA3sAC sbOR9PSmY3xRqwo4etcmG5dnbrOth6qTyZqhLyZYwhTsPr4ukDbT/I3ZYaaFoLuyV2 lJfBJ9UEwYtX/zSGuZMSEy1ybC2oySl7zvPRK/+fwvt+m2b7yvjJqgIkusDnn22bZ2 7fnmajSt4C/KBE0hBxudiIgOgaim1PBXdeD6gL9/zkRmDtOHqwePl2BtasYglemWNO NigYrYSA3LakQ== Subject: [Buildroot] [PATCH 7/7] kmod: adjust license info based on kmod tools selection 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 The libkmod is licensed as LGPL, while the kmod tools are GPL. We always install libkmod, but conditionally install the tools. This patch adjusts the license variables accordingly. Signed-off-by: Danomi Manchego --- package/kmod/kmod.mk | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/package/kmod/kmod.mk b/package/kmod/kmod.mk index 5c733b9..2fe9942 100644 --- a/package/kmod/kmod.mk +++ b/package/kmod/kmod.mk @@ -7,11 +7,13 @@ KMOD_VERSION = 13 KMOD_SOURCE = kmod-$(KMOD_VERSION).tar.xz KMOD_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kernel/kmod/ -KMOD_LICENSE = GPLv2+ LGPLv2.1+ -KMOD_LICENSE_FILES = COPYING libkmod/COPYING KMOD_INSTALL_STAGING = YES KMOD_DEPENDENCIES = host-pkgconf +# license info for libkmod only, conditionally add more below +KMOD_LICENSE = LGPLv2.1+ +KMOD_LICENSE_FILES = libkmod/COPYING + ifneq ($(BR2_HAVE_DOCUMENTATION),y) KMOD_CONF_OPT += --disable-manpages endif @@ -27,6 +29,11 @@ KMOD_CONF_OPT += --with-xz endif ifeq ($(BR2_PACKAGE_KMOD_TOOLS),y) + +# add license info for kmod tools +KMOD_LICENSE += GPLv2+ +KMOD_LICENSE_FILES += COPYING + # take precedence over busybox / module-init-tools implementations KMOD_DEPENDENCIES += \ $(if $(BR2_PACKAGE_BUSYBOX),busybox) \