On 16 June 2016 at 10:30, Chen Qi <Qi.Chen@windriver.com> wrote:
When there multiple license in a repo, the LICENSE value be created as
something like "LGPLv2.1 GPLv2", which causes the following warning.
LICENSE value "LGPLv2.1 GPLv2" has an invalid format - license names must
be separated by the following characters to indicate the license selection: &|()
Fix it by using '&' to join multiple licenses.
This behaviour is intentional, as recipetool isn't smart enough to read the licensing terms and decide if there are multiple licenses in aggregate (&) or a choice of licenses (|). The solution is to list all the licenses that have been found, let bitbake throw a warning, and the person creating a recipe comprehend the licensing situation and add the relevant operations.
Ross