summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>2021-10-08 09:48:27 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-14 11:48:45 +0100
commitd8655d3e15f971f305fe6976e6b8c87cedfa108f (patch)
tree2061d536ed18ce836c7a633cbfc889f4dc8aa1f5
parentf70715b54a86ea3cbeda6fee9f5abad2444c19f5 (diff)
downloadpoky-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.py2
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
1137def split_pkg_licenses(licvalues, packages, outlines, fallback_licenses=None, pn='${PN}'): 1137def 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