summaryrefslogtreecommitdiffstats
path: root/scripts/contrib/convert-spdx-licenses.py
Commit message (Collapse)AuthorAgeFilesLines
* scripts: fix file writing in convert-spdx-licensesScott Murray2022-02-221-0/+1
| | | | | | | | | | | The convert-spdx-licenses.py script needs the same file closing fix as was made to convert-variable-renames to ensure modified file contents get flushed out. (From OE-Core rev: 46135c87345c7189053dafbed92c754f9f328c32) Signed-off-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts: Add a conversion script to use SPDX license namesRichard Purdie2022-02-201-0/+144
We're standardising on SPDX license names so it is overdue to change the ones in the LICENSE fileds to the SPDX values. Add a conversion script which makes this straightforward on the most part. Ultimately this allows the core code to be more efficient and not need to consult the mappings. (From OE-Core rev: 512cd4ca91bc5107d68b7e721257a8f62f878994) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>