Use SPDX license names

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
This commit is contained in:
Christopher Larson
2022-02-23 17:56:08 +00:00
parent 19d849555e
commit 6cdeb0f0b7
3 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.gnu.org/software/binutils/"
BUGTRACKER = "http://sourceware.org/bugzilla/"
SECTION = "devel"
PV := "${@external_run(d, 'ld', '-v').splitlines()[0].split()[-1].rstrip()}"
LICENSE = "${@'GPLv3' if '${PV}'.split('.') > '2.17.50.0.12'.split('.') else 'GPLv2'}"
LICENSE = "${@'GPL-3.0-only' if '${PV}'.split('.') > '2.17.50.0.12'.split('.') else 'GPL-2.0-only'}"
binutils_binaries = "ar as ld ld.bfd ld.gold nm objcopy objdump ranlib strip \
addr2line c++filt elfedit gprof readelf size \

View File

@@ -4,7 +4,7 @@ DESCRIPTION = "This library contains the public client interface for NIS(YP) and
This recipe should work for extracting either the glibc or standalone libnsl \
from the external toolchain."
HOMEPAGE = "https://github.com/thkukuk/libnsl"
LICENSE = "LGPL-2.1"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
SECTION = "libs"

View File

@@ -2,7 +2,7 @@ SUMMARY = "Extended cryptographic library (from glibc)"
DESCRIPTION = "Forked code from glibc libary to extract only crypto part."
HOMEPAGE = "https://github.com/besser82/libxcrypt"
SECTION = "libs"
LICENSE = "LGPLv2.1"
LICENSE = "LGPL-2.1-only"
PROVIDES = "virtual/crypt"
inherit external-toolchain