sg3_utils: improve license description
authorRahul Bedarkar <rahulbedarkar89@gmail.com>
Fri, 21 Apr 2017 11:18:52 +0000 (16:48 +0530)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 26 Apr 2017 07:01:30 +0000 (09:01 +0200)
Library is licensed under BSD-3-Clause. Some programs are licensed
under GPL-2.0+ while other are BSD-3-Clause. Annotate licenses with
components and improve readability of license strings when
conditionally specifying license for programs using := instead of +=.

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/sg3_utils/sg3_utils.mk

index f010b3e42bfed12c0dcc75c946060fc81e90c6c8..88827f33b4c22110050d633ce3adb47d9e321767 100644 (file)
@@ -7,10 +7,10 @@
 SG3_UTILS_VERSION = 1.42
 SG3_UTILS_SOURCE = sg3_utils-$(SG3_UTILS_VERSION).tar.xz
 SG3_UTILS_SITE = http://sg.danny.cz/sg/p
-SG3_UTILS_LICENSE = BSD-3-Clause
-# utils progs are GPL-2.0+ licenced
+SG3_UTILS_LICENSE = BSD-3-Clause (library)
+# Some utils progs are GPL-2.0+ licensed while others are BSD-3-Clause
 ifeq ($(BR2_PACKAGE_SG3_UTILS_PROGS),y)
-SG3_UTILS_LICENSE += GPL-2.0+
+SG3_UTILS_LICENSE := $(SG3_UTILS_LICENSE), GPL-2.0+ (programs), BSD-3-Clause (programs)
 endif
 SG3_UTILS_LICENSE_FILES = COPYING BSD_LICENSE