diff options
Diffstat (limited to 'meta/classes/license.bbclass')
-rw-r--r-- | meta/classes/license.bbclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass index 96fdb4615..4689aaf61 100644 --- a/meta/classes/license.bbclass +++ b/meta/classes/license.bbclass @@ -231,7 +231,10 @@ python do_populate_lic() { try: v.visit_string(license_types) except oe.license.InvalidLicense as exc: - bb.fatal("%s: %s" % (d.getVar('PF', True), exc)) + bb.fatal('%s: %s' % (d.getVar('PF', True), exc)) + except SyntaxError: + bb.warn("%s: Failed to parse it's LICENSE field." % (d.getVar('PF', True))) + } SSTATETASKS += "do_populate_lic" |