aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Makefile
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2015-07-23 15:45:31 (GMT)
committerJouni Malinen <j@w1.fi>2015-07-23 15:48:41 (GMT)
commitde01710b08f879ee44460cc41f0f02cd39d01775 (patch)
tree565d0a85f10b18d9cf3a31c895eb75484d952a7a /hostapd/Makefile
parent7c524a64c1cf67729ee6308adccb4a1449389560 (diff)
downloadhostap-de01710b08f879ee44460cc41f0f02cd39d01775.zip
hostap-de01710b08f879ee44460cc41f0f02cd39d01775.tar.gz
hostap-de01710b08f879ee44460cc41f0f02cd39d01775.tar.bz2
hostapd: Add build options for selecting eloop type
This adds CONFIG_ELOOP_POLL=y and CONFIG_ELOOP_EPOLL=y options to hostapd build options similarly to how these were implemented for wpa_supplicant. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'hostapd/Makefile')
-rw-r--r--hostapd/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/hostapd/Makefile b/hostapd/Makefile
index 086a641..797b1b4 100644
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -107,6 +107,14 @@ LIBS_h += -lrt
LIBS_n += -lrt
endif
+ifdef CONFIG_ELOOP_POLL
+CFLAGS += -DCONFIG_ELOOP_POLL
+endif
+
+ifdef CONFIG_ELOOP_EPOLL
+CFLAGS += -DCONFIG_ELOOP_EPOLL
+endif
+
OBJS += ../src/utils/common.o
OBJS_c += ../src/utils/common.o
OBJS += ../src/utils/wpa_debug.o