]> xenbits.xensource.com Git - unikraft/libs/lwip.git/commitdiff
ppoll()/generic select() only available with libc
authorSimon Kuenzer <simon.kuenzer@neclab.eu>
Wed, 12 Feb 2020 14:31:29 +0000 (15:31 +0100)
committerSimon Kuenzer <simon.kuenzer@neclab.eu>
Thu, 13 Feb 2020 09:42:00 +0000 (10:42 +0100)
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 <simon.kuenzer@neclab.eu>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
Config.uk

index debf0c71f26f7aca3622bfae4517928083dc5216..aaaaae02d90cfd020cfd8b8a9aef35d1e4fc10f9 100644 (file)
--- 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.