]> code.ossystems Code Review - openembedded-core.git/commit
INCOMPATIBLE_LICENSE: support for spdx and pkg licenses
authorElizabeth Flanagan <elizabeth.flanagan@intel.com>
Fri, 23 Mar 2012 23:51:42 +0000 (16:51 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 25 Mar 2012 10:08:38 +0000 (11:08 +0100)
commita8d7246f7b13ef2636c325263c8bfa22552d7a57
tree7557bf4ce17aadb87ef61c373179e91f953a256e
parent178be339e09078c56a5231a10551f3b9aed16f9c
INCOMPATIBLE_LICENSE: support for spdx and pkg licenses

This adds a few things to the incompatible license functionality

1. INCOMPATIBLE_LICENSE was unable to distinguish any variation
within LICENSE (e.g. GPLv3 v. GPLv3.0). This now utilizes the
SPDXLICENSEMAP of the license indicated as INCOMPATIBLE_LICENSE

2. Given a recipe where the main LICENSE was incompatible but
a package of the recipe was compatible, the entire recipe would
be excluded. This allows us some finer grained control over what
exactly gets excluded.

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/base.bbclass
meta/classes/license.bbclass
meta/classes/package.bbclass