diff options
Diffstat (limited to 'meta/classes/license.bbclass')
| -rw-r--r-- | meta/classes/license.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass index cfc9eafb93..3de704f3f9 100644 --- a/meta/classes/license.bbclass +++ b/meta/classes/license.bbclass | |||
| @@ -261,7 +261,7 @@ def incompatible_license(d,dont_want_license): | |||
| 261 | from fnmatch import fnmatchcase as fnmatch | 261 | from fnmatch import fnmatchcase as fnmatch |
| 262 | 262 | ||
| 263 | dont_want_licenses = [] | 263 | dont_want_licenses = [] |
| 264 | dont_want_licenses.append(d.getVar('INCOMPATIBLE_LICENSE', 1)) | 264 | dont_want_licenses.append(d.getVar('INCOMPATIBLE_LICENSE', True)) |
| 265 | if d.getVarFlag('SPDXLICENSEMAP', dont_want_license): | 265 | if d.getVarFlag('SPDXLICENSEMAP', dont_want_license): |
| 266 | dont_want_licenses.append(d.getVarFlag('SPDXLICENSEMAP', dont_want_license)) | 266 | dont_want_licenses.append(d.getVarFlag('SPDXLICENSEMAP', dont_want_license)) |
| 267 | 267 | ||
