From bf5c58e0d36220cd3a15873453db63819a7b8e99 Mon Sep 17 00:00:00 2001 From: Julien Olivain Date: Sat, 7 Mar 2026 19:07:09 +0100 Subject: [PATCH] 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 Signed-off-by: Julien Olivain [Arnout: squash two patches] Signed-off-by: Arnout Vandecappelle (cherry picked from commit 4642f903cd613bc52f9bb8ea94c4d0ab18464c92) Signed-off-by: Thomas Perale --- Config.in | 4 ++++ Makefile | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/Config.in b/Config.in index d730f2034b..0bfe6d1ab5 100644 --- a/Config.in +++ b/Config.in @@ -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" diff --git a/Makefile b/Makefile index 8e2cb0ae14..176c0391bf 100644 --- a/Makefile +++ b/Makefile @@ -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")