summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRahul Bedarkar <rahul.bedarkar@imgtec.com>2016-10-19 23:11:55 +0530
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-10-19 23:28:19 +0200
commitaf2658da2092be3417260bf67f5ac15575181e21 (patch)
treefa1f622d9f145386bbf9c3a55f9e3b4c88099bd9
parent1ab240a14b9149fff4832ef6a9cf3798639b5dfd (diff)
dtc: update legal info
library libdtc is dual licensed under BSD-2c or GPLv2+ and dtc programs are licensed under GPLv2+. This patch annotates licenses with components and uses correct format to specify dual licensing that is separating licenses with 'or' keyword instead of '/'. Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/dtc/dtc.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/dtc/dtc.mk b/package/dtc/dtc.mk
index 8fdcdbed7..9dbca0a46 100644
--- a/package/dtc/dtc.mk
+++ b/package/dtc/dtc.mk
@@ -7,7 +7,7 @@
DTC_VERSION = 1.4.1
DTC_SOURCE = dtc-$(DTC_VERSION).tar.xz
DTC_SITE = https://www.kernel.org/pub/software/utils/dtc
-DTC_LICENSE = GPLv2+/BSD-2c
+DTC_LICENSE = GPLv2+ or BSD-2c (library)
DTC_LICENSE_FILES = README.license GPL
DTC_INSTALL_STAGING = YES
DTC_DEPENDENCIES = host-bison host-flex
@@ -19,7 +19,7 @@ endef
ifeq ($(BR2_PACKAGE_DTC_PROGRAMS),y)
-DTC_LICENSE += (for the library), GPLv2+ (for the executables)
+DTC_LICENSE := $(DTC_LICENSE), GPLv2+ (programs)
DTC_INSTALL_GOAL = install
ifeq ($(BR2_PACKAGE_BASH),)
DTC_POST_INSTALL_TARGET_HOOKS += DTC_POST_INSTALL_TARGET_RM_DTDIFF