summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Ceresoli <luca@lucaceresoli.net>2013-02-07 11:02:35 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-05-02 21:53:07 (GMT)
commite98a621323b2c30804351f8999f0a6c5b4419cbe (patch)
treec412f77b73216ca2f0ec757aeed659d480c574fe
parent1bb2fe1a45f500a5cf1c66514344565f09400fa6 (diff)
downloadbuildroot-e98a621323b2c30804351f8999f0a6c5b4419cbe.tar.gz
buildroot-e98a621323b2c30804351f8999f0a6c5b4419cbe.tar.bz2
qt: define license
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/qt/qt.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/qt/qt.mk b/package/qt/qt.mk
index bd3dd33..93d2ed0 100644
--- a/package/qt/qt.mk
+++ b/package/qt/qt.mk
@@ -17,6 +17,12 @@ QT_SITE = http://releases.qt-project.org/qt4/source
QT_DEPENDENCIES = host-pkgconf
QT_INSTALL_STAGING = YES
+QT_LICENSE = LGPLv2.1 with exceptions or GPLv3
+ifneq ($(BR2_PACKAGE_QT_LICENSE_APPROVED),y)
+QT_LICENSE += or Digia Qt Commercial license
+endif
+QT_LICENSE_FILES = LICENSE.LGPL LGPL_EXCEPTION.txt LICENSE.GPL3
+
ifeq ($(BR2_PACKAGE_QT_LICENSE_APPROVED),y)
QT_CONFIGURE_OPTS += -opensource -confirm-license
endif