base.bbclass: Correct bb.debug parameters
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
33f67ee2fc
commit
278aad440e
|
@ -419,7 +419,7 @@ python () {
|
|||
commercial_license = bb.data.getVar('COMMERCIAL_LICENSE', d, 1)
|
||||
import re
|
||||
if commercial_license and re.search(pn, commercial_license):
|
||||
bb.debug("Skipping %s because it's commercially licensed" % pn)
|
||||
bb.debug(1, "Skipping %s because it's commercially licensed" % pn)
|
||||
raise bb.parse.SkipPackage("because it requires commercial license to ship product")
|
||||
|
||||
# If we're building a target package we need to use fakeroot (pseudo)
|
||||
|
|
Loading…
Reference in New Issue