Config.in, Makefile: add BR2_HIDE_SECONDARY_TARGET_OPTIONS

The option is currently unused, which leads to a check-symbol warning.

Suggested-by: Arnout Vandecappelle <arnout@rnout.be>
Signed-off-by: Julien Olivain <ju.o@free.fr>
[Arnout: squash two patches]
Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
(cherry picked from commit 4642f903cd)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
Julien Olivain
2026-03-07 19:07:09 +01:00
committed by Thomas Perale
parent 2512acc862
commit bf5c58e0d3
2 changed files with 11 additions and 0 deletions

View File

@@ -15,6 +15,10 @@ config BR2_HAVE_DOT_CONFIG
config BR2_BROKEN
bool
config BR2_HIDE_SECONDARY_TARGET_OPTIONS
bool
option env="BR2_HIDE_SECONDARY_TARGET_OPTIONS"
config BR2_VERSION
string
option env="BR2_VERSION_FULL"

View File

@@ -251,6 +251,13 @@ export LANG = C
export LC_ALL = C
endif
# we set a default value here to avoid a Kconfig warning about unset
# environment varilable. This option is passed as an environment
# variable to be controlled by autobuilders. The purpose is to test
# less frequently some uncommon configurations which tend to generate
# more build failures.
export BR2_HIDE_SECONDARY_TARGET_OPTIONS ?= n
# To put more focus on warnings, be less verbose as default
# Use 'make V=1' to see the full commands
ifeq ("$(origin V)", "command line")