diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2022-03-24 00:14:57 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-24 17:45:29 +0000 |
commit | fb0a43cd2f0dafd568b98432070954b791f3858c (patch) | |
tree | 162ebf0e4f06376f9c02a52ff7b0c85d64fab0a1 /meta/classes/license.bbclass | |
parent | 1f1fcb41b4ad7c588fa4851b1eb32e2a6541b6de (diff) | |
download | poky-fb0a43cd2f0dafd568b98432070954b791f3858c.tar.gz |
create-spdx.bbclass: Simplify extraction of license text
There is no reason to first search for all available licenses using
avail_licenses() and then search through the same paths looking for
the actual license texts. Just look for the license texts directly
instead.
(From OE-Core rev: 59eb405a80f0a0acf9b754b2b78399bacb0094ae)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/license.bbclass')
0 files changed, 0 insertions, 0 deletions