]> code.ossystems Code Review - openembedded-core.git/commit
kernel-yocto: allow promotion of configuration warnings to errors
authorBruce Ashfield <bruce.ashfield@gmail.com>
Thu, 27 Aug 2020 17:54:03 +0000 (13:54 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 28 Aug 2020 06:06:44 +0000 (07:06 +0100)
commitb26a6df7efdaf640c612f6d557a2e74b4dc58af3
treec001e96896b76bd1a1633bbde3d984c5a672a27c
parentec23ada44fbf5143dd2cc89f3dd882be355358d0
kernel-yocto: allow promotion of configuration warnings to errors

It was requested to add the ability to upgrade configuration warnings
to errors, so that they can't be missed in a build.

Add a flag KMETA_AUDIT_WERROR, that when set, triggers a bb.fatal at
the end of configuration checking if any warnings are found.

This is off by default, but is available for those that want to enable
it in their kernel recipe or bbappend.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-yocto.bbclass