qt5base: add examples license information
authorPeter Seiderer <ps.report@gmx.net>
Mon, 19 Dec 2016 20:10:21 +0000 (21:10 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 28 Jan 2017 10:25:23 +0000 (23:25 +1300)
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/qt5/qt5base/qt5base.mk

index 45ba4e661df9da55603bba5e247feed1df733aec..bbbaf0f4568fc073001c61919a9f4fa36c212d52 100644 (file)
@@ -47,6 +47,10 @@ ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
 QT5BASE_CONFIGURE_OPTS += -opensource -confirm-license
 QT5BASE_LICENSE = GPLv3 or LGPLv2.1 with exception or LGPLv3, GFDLv1.3 (docs)
 QT5BASE_LICENSE_FILES = LICENSE.GPLv3 LICENSE.LGPLv21 LGPL_EXCEPTION.txt LICENSE.LGPLv3 LICENSE.FDL
+ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
+QT5BASE_LICENSE := $(QT5BASE_LICENSE), BSD-3c (examples)
+QT5BASE_LICENSE_FILES += header.BSD
+endif
 else
 QT5BASE_LICENSE = Commercial license
 QT5BASE_REDISTRIBUTE = NO