From 51beb28ac9ff53e8aaea1344bdd2abb70a6e75ef Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Wed, 10 Mar 2021 17:53:03 +0200 Subject: [PATCH] modules: civetweb: Add proper dependency to Kconfig Make sure that CONFIG_NET_TCP_ISN_RFC6528 is not set when compiling Civetweb. There are compile issues in Civetweb if both mbedtls and POSIX API option are set, and this happens if the TCP ISN option is enabled. Signed-off-by: Jukka Rissanen --- modules/Kconfig.civetweb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/Kconfig.civetweb b/modules/Kconfig.civetweb index 663081b5fc4..8e357692bd5 100644 --- a/modules/Kconfig.civetweb +++ b/modules/Kconfig.civetweb @@ -3,5 +3,11 @@ config CIVETWEB bool "Civetweb Support" + # The CONFIG_NET_TCP_ISN_RFC6528 option would pull in mbedtls, + # and there are include file issues if CONFIG_POSIX_API is set. + # Because Civetweb sets the POSIX API option in the samples, + # make sure that we do not try to use Civetweb if the TCP ISN + # option is set. + depends on !NET_TCP_ISN_RFC6528 help This option enables the civetweb HTTP API.