]> code.ossystems Code Review - openembedded-core.git/commit
archiver.bbclass: make it can filter the license
authorRobert Yang <liezhi.yang@windriver.com>
Mon, 24 Mar 2014 05:39:26 +0000 (13:39 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 24 Mar 2014 10:18:25 +0000 (10:18 +0000)
commit0e798d5cbcf585535e19633828dc540a282261fc
treedab0ec291c1fe011423347aa2728b2b02b976284
parent312ca574e62cb0ac5fdad4943d7ff9d457caf8e3
archiver.bbclass: make it can filter the license

* Filter the license (default: no), the recipe whose license in
  COPYLEFT_LICENSE_INCLUDE will be included, and in
  COPYLEFT_LICENSE_EXCLUDE will be excluded.

* The user can set the recipe type that would be archived (native,
  target, and so on), deafult to all.

The copyleft_filter.bbclass is come from copyleft_compliance.bbclass,
which is used by both copyleft_compliance.bbclass and archiver.bbclass.

[YOCTO #5740]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/archiver.bbclass
meta/classes/copyleft_compliance.bbclass
meta/classes/copyleft_filter.bbclass [new file with mode: 0644]