mirror of
https://git.yoctoproject.org/poky
synced 2026-04-19 06:32:13 +02: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:
|
||||
pkgconfig = (d.getVar('PACKAGECONFIG', True) or "").split()
|
||||
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)
|
||||
|
||||
def expandFilter(appends, extension, prefix):
|
||||
|
||||
Reference in New Issue
Block a user