diff options
-rw-r--r-- | meta/classes/spdx-common.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/spdx-common.bbclass b/meta/classes/spdx-common.bbclass index f6fc182838..03f1d0cc27 100644 --- a/meta/classes/spdx-common.bbclass +++ b/meta/classes/spdx-common.bbclass | |||
@@ -58,7 +58,7 @@ def extract_licenses(filename): | |||
58 | return ascii_licenses | 58 | return ascii_licenses |
59 | except Exception as e: | 59 | except Exception as e: |
60 | bb.warn(f"Exception reading {filename}: {e}") | 60 | bb.warn(f"Exception reading {filename}: {e}") |
61 | return None | 61 | return [] |
62 | 62 | ||
63 | def is_work_shared_spdx(d): | 63 | def is_work_shared_spdx(d): |
64 | return bb.data.inherits_class('kernel', d) or ('work-shared' in d.getVar('WORKDIR')) | 64 | return bb.data.inherits_class('kernel', d) or ('work-shared' in d.getVar('WORKDIR')) |