boost: drop context exclusion for removed ARC targets

The boost-context-exclude switch, and the coroutine and fiber
exclusions chained to it, only ever applied to the arc770 and archs38
targets, because Boost.Context has no ARC support. Both targets have
been removed from openwrt.git, in
commit fcb29171bc9a ("arc770: Remove arc770 target") and
commit df9ffedb75b5 ("archs38: drop target").

With no target left to set them, these hidden symbols are always
disabled. Remove them and the dependencies on them.

There is no functional change: the dependencies of the boost-context,
boost-coroutine, boost-fiber and boost packages only lose conditions
that were always true.

Signed-off-by: Sander van Deijck <sander@vandeijck.com>
This commit is contained in:
Sander van Deijck authored and Hannu Nyman committed 2026-10-24 12:03:56 +03:00
1 parent b0358ea46a
commit 05d12617f1
1 file changed
+3 -22
+3 -22
View File
@@ -116,22 +116,6 @@ define Package/boost
endef
define Package/boost/config
# Invisible config dependency
config boost-context-exclude
bool
default y if (TARGET_arc770 || TARGET_archs38)
default n
config boost-coroutine-exclude
bool
default y if boost-context-exclude
default n
config boost-fiber-exclude
bool
default y if boost-coroutine-exclude
default n
menu "Select Boost Options"
depends on PACKAGE_boost
comment "Boost compilation options."
@@ -284,9 +268,6 @@ define Package/boost/config
config PACKAGE_boost-$(lib)
prompt "Boost $(lib) $(if $(findstring python3,$(lib)),$(paren_left)v$(BOOST_PYTHON3_VER)$(paren_right) ,)library."
default m if ALL
$(if $(findstring fiber,$(lib)),depends on !boost-fiber-exclude,)\
$(if $(findstring context,$(lib)),depends on !boost-context-exclude,)
$(if $(findstring coroutine,$(lib)),depends on !boost-coroutine-exclude,)
)
endmenu
endef
@@ -340,12 +321,12 @@ $(eval $(call DefineBoostLibrary,charconv,,,,$(if $(filter i386 x86_64 powerpc p
$(eval $(call DefineBoostLibrary,chrono))
$(eval $(call DefineBoostLibrary,cobalt,container context date_time,,,libopenssl))
$(eval $(call DefineBoostLibrary,container))
$(eval $(call DefineBoostLibrary,context,chrono ,,!boost-context-exclude))
$(eval $(call DefineBoostLibrary,context,chrono))
$(eval $(call DefineBoostLibrary,contract,atomic chrono container date_time thread))
$(eval $(call DefineBoostLibrary,coroutine,chrono context thread,,!boost-coroutine-exclude))
$(eval $(call DefineBoostLibrary,coroutine,chrono context thread))
$(eval $(call DefineBoostLibrary,date_time,container))
#$(eval $(call DefineBoostLibrary,exception,,))
$(eval $(call DefineBoostLibrary,fiber,coroutine filesystem regex,,!boost-fiber-exclude))
$(eval $(call DefineBoostLibrary,fiber,coroutine filesystem regex))
$(eval $(call DefineBoostLibrary,filesystem,atomic))
$(eval $(call DefineBoostLibrary,graph,atomic chrono container date_time math random serialization thread))
$(eval $(call DefineBoostLibrary,iostreams,random regex,,,zlib liblzma libbz2 libzstd))