diff options
author | Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> | 2021-10-08 09:48:27 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-14 11:48:45 +0100 |
commit | d8655d3e15f971f305fe6976e6b8c87cedfa108f (patch) | |
tree | 2061d536ed18ce836c7a633cbfc889f4dc8aa1f5 | |
parent | f70715b54a86ea3cbeda6fee9f5abad2444c19f5 (diff) | |
download | poky-d8655d3e15f971f305fe6976e6b8c87cedfa108f.tar.gz |
recipetool: Change default paramter fallback_licenses of function split_pkg_licenses from None to []
(From OE-Core rev: ab06305bf9a8ee2250aae8043e37119df2fbfc15)
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | scripts/lib/recipetool/create.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index 83cf25d9b7..893980a5ce 100644 --- a/scripts/lib/recipetool/create.py +++ b/scripts/lib/recipetool/create.py | |||
@@ -1134,7 +1134,7 @@ def guess_license(srctree, d): | |||
1134 | 1134 | ||
1135 | return licenses | 1135 | return licenses |
1136 | 1136 | ||
1137 | def split_pkg_licenses(licvalues, packages, outlines, fallback_licenses=None, pn='${PN}'): | 1137 | def split_pkg_licenses(licvalues, packages, outlines, fallback_licenses=[], pn='${PN}'): |
1138 | """ | 1138 | """ |
1139 | Given a list of (license, path, md5sum) as returned by guess_license(), | 1139 | Given a list of (license, path, md5sum) as returned by guess_license(), |
1140 | a dict of package name to path mappings, write out a set of | 1140 | a dict of package name to path mappings, write out a set of |