summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Hartanerot <laurent.hartanerot@atos.net>2018-08-30 12:07:03 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-09-01 14:45:22 +0200
commit1098f64d7bdd650d46ee404834fa5087496b86a9 (patch)
tree37391b37f4d35160ad55932c11db256851cb0bef
parentbeb2b891ec4de38427a2a882d374c323acf3c0ef (diff)
downloadbuildroot-1098f64d7bdd650d46ee404834fa5087496b86a9.tar.gz
buildroot-1098f64d7bdd650d46ee404834fa5087496b86a9.zip
qt5webengine: use QT5WEBENGINE prefix for CHROMIUM_LICENSE_FILES variable
The qt5webengine package currently uses the CHROMIUM_LICENSE_FILES variable to hold the list of license files for the chromium source code embedded inside the qt5webengine code. However, using this variable would clash with a hypothetical "chromium" package, and anyway violates our rule that all variables of a package should be prefixed by the package name. This commit fixes that by adding the QT5WEBENGINE to this variable. Signed-off-by: Laurent Hartanerot <laurent.hartanerot@atos.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/qt5/qt5webengine/chromium-latest.inc2
-rw-r--r--package/qt5/qt5webengine/chromium-lts.inc2
-rw-r--r--package/qt5/qt5webengine/qt5webengine.mk2
3 files changed, 3 insertions, 3 deletions
diff --git a/package/qt5/qt5webengine/chromium-latest.inc b/package/qt5/qt5webengine/chromium-latest.inc
index 3e98052b38..671b2383a3 100644
--- a/package/qt5/qt5webengine/chromium-latest.inc
+++ b/package/qt5/qt5webengine/chromium-latest.inc
@@ -1,4 +1,4 @@
-CHROMIUM_LICENSE_FILES = \
+QT5WEBENGINE_CHROMIUM_LICENSE_FILES = \
src/3rdparty/chromium/url/third_party/mozilla/LICENSE.txt \
src/3rdparty/chromium/tools/symsrc/COPYING-pefile \
src/3rdparty/chromium/tools/win/ChromeDebug/ChromeDebug/LICENSE \
diff --git a/package/qt5/qt5webengine/chromium-lts.inc b/package/qt5/qt5webengine/chromium-lts.inc
index bff7931656..d45e9692de 100644
--- a/package/qt5/qt5webengine/chromium-lts.inc
+++ b/package/qt5/qt5webengine/chromium-lts.inc
@@ -1,4 +1,4 @@
-CHROMIUM_LICENSE_FILES = \
+QT5WEBENGINE_CHROMIUM_LICENSE_FILES = \
src/3rdparty/chromium/url/third_party/mozilla/LICENSE.txt \
src/3rdparty/chromium/sdch/open-vcdiff/COPYING \
src/3rdparty/chromium/tools/gyp/LICENSE \
diff --git a/package/qt5/qt5webengine/qt5webengine.mk b/package/qt5/qt5webengine/qt5webengine.mk
index c4ae961126..a3cfcec26e 100644
--- a/package/qt5/qt5webengine/qt5webengine.mk
+++ b/package/qt5/qt5webengine/qt5webengine.mk
@@ -19,7 +19,7 @@ include package/qt5/qt5webengine/chromium-lts.inc
endif
QT5WEBENGINE_LICENSE = GPL-2.0 or LGPL-3.0 or GPL-3.0 or GPL-3.0 with exception
QT5WEBENGINE_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT \
- LICENSE.GPLv3 LICENSE.LGPL3 $(CHROMIUM_LICENSE_FILES)
+ LICENSE.GPLv3 LICENSE.LGPL3 $(QT5WEBENGINE_CHROMIUM_LICENSE_FILES)
ifeq ($(BR2_PACKAGE_QT5BASE_XCB),y)
QT5WEBENGINE_DEPENDENCIES += xlib_libXScrnSaver xlib_libXcomposite \
OpenPOWER on IntegriCloud