Adds support for the Kconfig option to enable compiler warnings being treated as errors in all images that are build. This is a sticky-set option which means enabling it in sysbuild will enable it in all images, if it is then disabled in sysbuild it will not be disabled in any of the images as a result and would need to be manually unselected. Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
9 lines
226 B
Plaintext
9 lines
226 B
Plaintext
# Copyright (c) 2024 Nordic Semiconductor
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config COMPILER_WARNINGS_AS_ERRORS
|
|
bool "Treat warnings as errors"
|
|
help
|
|
Turn on "warning as error" toolchain flags for all images if set.
|