Skip to content

Commit 013a003

Browse files
cmake: modules: deprecate civetweb
This module has gone unmaintained and we do not have the resources to respond to bug reports for it. The TSC has decided to deprecate it for Zephyr v3.1 and remove it entirely in Zephyr v3.2 unless a maintainer volunteers to keep this module up to date and fix bugs. This commit generates a warning at CMake time if this module is compiled in. The warning will appear in the cmake output in the same place that deprecated board or SoC warnings would. Signed-off-by: Martí Bolívar <[email protected]>
1 parent dcec8d0 commit 013a003

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

modules/Kconfig.civetweb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
config CIVETWEB
5-
bool "Civetweb Support"
5+
bool "Civetweb Support (DEPRECATED)"
66
# The CONFIG_NET_TCP_ISN_RFC6528 option would pull in mbedtls,
77
# and there are include file issues if CONFIG_POSIX_API is set.
88
# Because Civetweb sets the POSIX API option in the samples,
@@ -11,3 +11,7 @@ config CIVETWEB
1111
depends on !NET_TCP_ISN_RFC6528
1212
help
1313
This option enables the civetweb HTTP API.
14+
Support for this module is now deprecated due to a lack
15+
of maintainers. Please volunteer to maintain this module
16+
if you would like to see support for it remain in upstream
17+
Zephyr.

modules/deprecation_warnings.cmake

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,9 @@
1111
# This is done in a separate CMake file because the modules.cmake file
1212
# in this same directory is evaluated before Kconfig runs.
1313

14+
if(CONFIG_CIVETWEB)
15+
message(WARNING "The civetweb module is deprecated. \
16+
Unless someone volunteers to maintain this module, \
17+
support for it will be removed in Zephyr v3.2."
18+
)
19+
endif()

0 commit comments

Comments
 (0)