mirror of
git://git.yoctoproject.org/poky
synced 2026-08-17 12:50:12 +00:00
classes/base: provide hints on PACKAGECONFIG error
Commit 771f89498c introduces an error message that is very rarely hit and when it is, it is usually easy to trace the root cause very quickly. The information provided in the error message isn't enough to lead you back to the actual failure, however, so expand upon it a bit, pinpointing the specific package and flag that fails. (From OE-Core rev: ead4a552464309e6ef3381590994b6cea225ca20) Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
5a02ec217d
commit
ae7703f21a
@ -391,7 +391,8 @@ python () {
|
||||
items = flagval.split(",")
|
||||
num = len(items)
|
||||
if num > 4:
|
||||
bb.error("Only enable,disable,depend,rdepend can be specified!")
|
||||
bb.error("%s: PACKAGECONFIG[%s] Only enable,disable,depend,rdepend can be specified!"
|
||||
% (d.getVar('PN', True), flag))
|
||||
|
||||
if flag in pkgconfig:
|
||||
if num >= 3 and items[2]:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user