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>
51 lines
960 B
Plaintext
51 lines
960 B
Plaintext
# Copyright (c) 2021 Nordic Semiconductor
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
rsource "Kconfig.$(HWM_SCHEME)"
|
|
|
|
comment "Sysbuild image configuration"
|
|
|
|
osource "$(BOARD_DIR)/Kconfig.sysbuild"
|
|
|
|
menu "Modules"
|
|
|
|
source "modules/Kconfig.sysbuild"
|
|
|
|
endmenu
|
|
|
|
config EXPERIMENTAL
|
|
bool
|
|
help
|
|
Symbol that must be selected by a feature if it is considered to be
|
|
at an experimental implementation stage.
|
|
|
|
config WARN_EXPERIMENTAL
|
|
bool
|
|
prompt "Warn on experimental usage"
|
|
help
|
|
Print a warning when the Kconfig tree is parsed if any experimental
|
|
features are enabled.
|
|
|
|
config DEPRECATED
|
|
bool
|
|
help
|
|
Symbol that must be selected by a feature or module if it is
|
|
considered to be deprecated.
|
|
|
|
config WARN_DEPRECATED
|
|
bool
|
|
default y
|
|
prompt "Warn on deprecated usage"
|
|
help
|
|
Print a warning when the Kconfig tree is parsed if any deprecated
|
|
features are enabled.
|
|
|
|
rsource "images/Kconfig"
|
|
|
|
menu "Build options"
|
|
|
|
rsource "build/Kconfig"
|
|
|
|
endmenu
|