diff options
author | Saul Wold <Saul.Wold@windriver.com> | 2022-02-08 07:02:11 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-12 17:05:35 +0000 |
commit | 75f9785a2b28eddd1f6ca0c8a6c6507dd97df409 (patch) | |
tree | e420848e19d47b7c7d84ee05b6178ea50c8d4b71 /meta/classes/cmake.bbclass | |
parent | 76b3d141c027abced340c573f6c0f3836c55639c (diff) | |
download | poky-75f9785a2b28eddd1f6ca0c8a6c6507dd97df409.tar.gz |
create-spdx: Get SPDX-License-Identifier from source
This patch will read the begining of source files and try to find
the SPDX-License-Identifier to populate the licenseInfoInFiles
field for each source file. This does not populate licenseConcluded
at this time, nor rolls it up to package level.
We read as binary file since some source code seem to have some
binary characters, the license is then converted to ascii strings.
(From OE-Core rev: 51e5f328635eb022143178c3169bae719509697a)
Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/cmake.bbclass')
0 files changed, 0 insertions, 0 deletions