diff options
Diffstat (limited to 'scripts/lib')
-rw-r--r-- | scripts/lib/recipetool/create.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index 87b25ebc7e..a8c4cdef4a 100644 --- a/scripts/lib/recipetool/create.py +++ b/scripts/lib/recipetool/create.py | |||
@@ -1128,6 +1128,9 @@ def guess_license(srctree, d): | |||
1128 | license, crunched_md5, lictext = crunch_license(licfile) | 1128 | license, crunched_md5, lictext = crunch_license(licfile) |
1129 | if lictext and not license: | 1129 | if lictext and not license: |
1130 | license = 'Unknown' | 1130 | license = 'Unknown' |
1131 | logger.info("Please add the following line for '%s' to a 'lib/recipetool/licenses.csv' " \ | ||
1132 | "and replace `Unknown` with the license:\n" \ | ||
1133 | "%s,Unknown" % (os.path.relpath(licfile, srctree), md5value)) | ||
1131 | if license: | 1134 | if license: |
1132 | licenses.append((license, os.path.relpath(licfile, srctree), md5value)) | 1135 | licenses.append((license, os.path.relpath(licfile, srctree), md5value)) |
1133 | 1136 | ||