diff options
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 8637f9ffd6..46762d9cc5 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -341,6 +341,11 @@ python () { | |||
341 | if pkgconfigflags: | 341 | if pkgconfigflags: |
342 | pkgconfig = (d.getVar('PACKAGECONFIG', True) or "").split() | 342 | pkgconfig = (d.getVar('PACKAGECONFIG', True) or "").split() |
343 | pn = d.getVar("PN", True) | 343 | pn = d.getVar("PN", True) |
344 | |||
345 | for pconfig in pkgconfig: | ||
346 | if pconfig not in pkgconfigflags: | ||
347 | bb.warn("%s: invalid PACKAGECONFIG: %s" % (pn, pconfig)) | ||
348 | |||
344 | mlprefix = d.getVar("MLPREFIX", True) | 349 | mlprefix = d.getVar("MLPREFIX", True) |
345 | 350 | ||
346 | def expandFilter(appends, extension, prefix): | 351 | def expandFilter(appends, extension, prefix): |