mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
base.class: warn for invalid PACKAGECONFIG
There may be typos or out of date values in PACKAGECONFIG, check and warn them. (From OE-Core rev: be085657bbab34bb8a822682897f96871bb2d8f4) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
e344dc152d
commit
04a1fea952
@@ -341,6 +341,11 @@ python () {
|
|||||||
if pkgconfigflags:
|
if pkgconfigflags:
|
||||||
pkgconfig = (d.getVar('PACKAGECONFIG', True) or "").split()
|
pkgconfig = (d.getVar('PACKAGECONFIG', True) or "").split()
|
||||||
pn = d.getVar("PN", True)
|
pn = d.getVar("PN", True)
|
||||||
|
|
||||||
|
for pconfig in pkgconfig:
|
||||||
|
if pconfig not in pkgconfigflags:
|
||||||
|
bb.warn("%s: invalid PACKAGECONFIG: %s" % (pn, pconfig))
|
||||||
|
|
||||||
mlprefix = d.getVar("MLPREFIX", True)
|
mlprefix = d.getVar("MLPREFIX", True)
|
||||||
|
|
||||||
def expandFilter(appends, extension, prefix):
|
def expandFilter(appends, extension, prefix):
|
||||||
|
|||||||
Reference in New Issue
Block a user