From 506445e9638e7568b8a756a8bc76f0077d3e57b4 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Tue, 4 Oct 2016 20:14:28 -0300 Subject: [PATCH] elfutils: clarify licensing info elfutils libraries are GPLv2+ or LGPLv3+, standalone programs are GPLv3+ (see the NEWS file). Make the GPLv3+ license tag/file dependant on the programs being enabled, and make the GPLv2+/LGPLv3+ tag more descriptive. Signed-off-by: Gustavo Zacarias Reviewed-by: Rahul Bedarkar Signed-off-by: Thomas Petazzoni --- package/elfutils/elfutils.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/elfutils/elfutils.mk b/package/elfutils/elfutils.mk index 6af12236e1..9485d3b292 100644 --- a/package/elfutils/elfutils.mk +++ b/package/elfutils/elfutils.mk @@ -8,8 +8,8 @@ ELFUTILS_VERSION = 0.166 ELFUTILS_SOURCE = elfutils-$(ELFUTILS_VERSION).tar.bz2 ELFUTILS_SITE = https://fedorahosted.org/releases/e/l/elfutils/$(ELFUTILS_VERSION) ELFUTILS_INSTALL_STAGING = YES -ELFUTILS_LICENSE = GPLv3, GPLv2, LGPLv3 -ELFUTILS_LICENSE_FILES = COPYING COPYING-GPLV2 COPYING-LGPLV3 +ELFUTILS_LICENSE = GPLv2+ or LGPLv3+ (library) +ELFUTILS_LICENSE_FILES = COPYING-GPLV2 COPYING-LGPLV3 ELFUTILS_DEPENDENCIES = zlib # We patch configure.ac @@ -66,6 +66,8 @@ endif ifeq ($(BR2_PACKAGE_ELFUTILS_PROGS),y) ELFUTILS_CONF_OPTS += --enable-progs +ELFUTILS_LICENSE := $(ELFUTILS_LICENSE), GPLv3+ (programs) +ELFUTILS_LICENSE_FILES += COPYING else ELFUTILS_CONF_OPTS += --disable-progs endif -- 2.30.2