[PATCH] Separate event loop implementation by specific macros

Jouni Malinen j at w1.fi
Tue Apr 29 11:58:45 EDT 2014


On Sun, Apr 20, 2014 at 05:23:03PM +0900, Masashi Honma wrote:
> This patch separates event loop implementation by macros to introduce
> following epoll() option.

This breaks at least wlantest. It hits some kind of busy loop due to
missing CONFIG_ELOOP_* define, i.e., something like this is likely
needed:


diff --git a/src/utils/Makefile b/src/utils/Makefile
index 8aad813..5878a7a 100644
--- a/src/utils/Makefile
+++ b/src/utils/Makefile
@@ -12,6 +12,7 @@ include ../lib.rules
 #CFLAGS += -DWPA_TRACE
 CFLAGS += -DCONFIG_IPV6
 CFLAGS += -DCONFIG_DEBUG_FILE
+CFLAGS += -DCONFIG_ELOOP_SELECT
 
 LIB_OBJS= \
 	base64.o \


I'd assume some other components may be broken as well (e.g.,
hostapd/Android.mk did not seem to define this). As such, I don't think
I can apply this before all build options have been confirmed to work.

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list