]> code.ossystems Code Review - openembedded-core.git/commit
license.bbclass: allow copying license not in common licenses
authorJackie Huang <jackie.huang@windriver.com>
Thu, 23 Apr 2015 07:05:04 +0000 (00:05 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 Apr 2015 22:01:29 +0000 (23:01 +0100)
commit56930227128d55dab22f79138152b29cf040ceff
treee6544d1b9fd49919b9e015384da2cdc706033a34
parent055a5bbfc7686c8eec3aad2bcbcf90c40031cc34
license.bbclass: allow copying license not in common licenses

Some package like linux-firmware has many licenses that aren't in any
way common, and new ones will be added from time to time, in order to
avoid adding bunch of such common license files that are only applicable
to a specific package, NO_GENERIC_LICENSE is added to allow copying license
not in common licenses, it should be used in the recipe as:

NO_GENERIC_LICENSE[<license_name>] = "<license file in fetched source>"

e.g.
NO_GENERIC_LICENSE[Firmware-Abilis] = "LICENCE.Abilis.txt"

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
meta/classes/license.bbclass