diff mbox

Separate event loop implementation by specific macros

Message ID 20140429155845.GA5459@w1.fi
State Not Applicable
Headers show

Commit Message

Jouni Malinen April 29, 2014, 3:58 p.m. UTC
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:




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.
diff mbox

Patch

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 \