Recipes define the latter, as that's what goes into the binary packages, not
the former.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
import re
import oe.license
from fnmatch import fnmatchcase as fnmatch
- pn = d.getVar('PN', True)
- license = d.getVar("LICENSE_%s-%s" % (pn, package), True) if package else None
+ license = d.getVar("LICENSE_%s" % package, True) if package else None
if not license:
license = d.getVar('LICENSE', True)