diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2022-03-04 08:25:59 +0000 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-03-06 17:43:34 +0000 |
commit | c1c7845e480f6b92e4b054a6f7f736674a330ede (patch) | |
tree | 69f56bc3cbd535bae1081415b96f05abace428ba | |
parent | f4f6519b0e8607d37fab0d64659793a48c02ed2c (diff) |
licenses: add SPDX license mapping to old license names
The common license files have been renamed to use SPDX names, but we
still support some older yocto branches that use the old names.
Add mapping to allow building with older yocto version after the
recipes are updated to the new license names. This avoid warnings:
No generic license file exists for: GPL-3.0-only in any provider
Change-Id: Ib93baf9027442e69ab5bce294449bd203d9be2aa
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit f80f96848dfd0072c40448400898c5e0d5d16fe0)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | conf/layer.conf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/conf/layer.conf b/conf/layer.conf index c08dea9..a9a82e1 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -39,3 +39,8 @@ QT_GIT_PROJECT ?= "qt" QT_GIT ?= "git://code.qt.io" QT_GIT_PROTOCOL ?= "git" QT_EDITION ?= "opensource" + +# License mapping back to old license files +SPDXLICENSEMAP[GPL-3.0-only] = "GPL-3.0" +SPDXLICENSEMAP[LGPL-3.0-only] = "LGPL-3.0" +SPDXLICENSEMAP[GPL-2.0-or-later] = "GPL-2.0" |