From: Simon Kuenzer Date: Wed, 12 Feb 2020 14:31:29 +0000 (+0100) Subject: ppoll()/generic select() only available with libc X-Git-Tag: RELEASE-0.4~5 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=7e523af6ee8ecc424e5a83347f444516d0fd4c5c;p=unikraft%2Flibs%2Flwip.git ppoll()/generic select() only available with libc The options LWIP_SOCKET_SELECT_GENERIC_FDS and LWIP_SOCKET_PPOLL are only made available when a proper libc (HAVE_LIBC) is added and enabled to the build. These options do not work with nolibc. Signed-off-by: Simon Kuenzer Reviewed-by: Felipe Huici --- diff --git a/Config.uk b/Config.uk index debf0c7..aaaaae0 100644 --- a/Config.uk +++ b/Config.uk @@ -165,6 +165,7 @@ config LWIP_SOCKET if LWIP_SOCKET config LWIP_SOCKET_SELECT_GENERIC_FDS bool "Use select() with any file descriptor type" + depends on HAVE_LIBC default y help lwip's select() implementation supports only sockets. This @@ -173,6 +174,7 @@ if LWIP_SOCKET config LWIP_SOCKET_PPOLL bool "Enable ppoll()" + depends on HAVE_LIBC default y help Enable ppoll() implementation.