OE licenses and license flags

From Crashcourse Wiki

Jump to: navigation, search

[edit] Whitelisting LICENSE_FLAGS

Given the following in recipes-multimedia/lame/lame_3.99.5.bb:

LICENSE = "LGPLv2+"
LICENSE_FLAGS = "commercial"

you get:

$ bitbake -c fetch lame
... snip ...
ERROR: Nothing PROVIDES 'lame'
ERROR: lame was skipped: because it has a restricted license not whitelisted in LICENSE_FLAGS_WHITELIST
$

To solve, add one of the following to your local.conf:

LICENSE_FLAGS_WHITELIST = "commercial"
LICENSE_FLAGS_WHITELIST = "commercial_lame"


(Back to OE Yocto pages.)

Personal tools