summaryrefslogtreecommitdiffstats
path: root/meta/classes/license.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/license.bbclass')
-rw-r--r--meta/classes/license.bbclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
index 96fdb46155..4689aaf615 100644
--- a/meta/classes/license.bbclass
+++ b/meta/classes/license.bbclass
@@ -231,7 +231,10 @@ python do_populate_lic() {
231 try: 231 try:
232 v.visit_string(license_types) 232 v.visit_string(license_types)
233 except oe.license.InvalidLicense as exc: 233 except oe.license.InvalidLicense as exc:
234 bb.fatal("%s: %s" % (d.getVar('PF', True), exc)) 234 bb.fatal('%s: %s' % (d.getVar('PF', True), exc))
235 except SyntaxError:
236 bb.warn("%s: Failed to parse it's LICENSE field." % (d.getVar('PF', True)))
237
235} 238}
236 239
237SSTATETASKS += "do_populate_lic" 240SSTATETASKS += "do_populate_lic"