mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
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>
This commit is contained in:
parent
f70715b54a
commit
d8655d3e15
|
@ -1134,7 +1134,7 @@ def guess_license(srctree, d):
|
|||
|
||||
return licenses
|
||||
|
||||
def split_pkg_licenses(licvalues, packages, outlines, fallback_licenses=None, pn='${PN}'):
|
||||
def split_pkg_licenses(licvalues, packages, outlines, fallback_licenses=[], pn='${PN}'):
|
||||
"""
|
||||
Given a list of (license, path, md5sum) as returned by guess_license(),
|
||||
a dict of package name to path mappings, write out a set of
|
||||
|
|
Loading…
Reference in New Issue
Block a user