aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Android.mk
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/Android.mk
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/Android.mk')
-rw-r--r--hostapd/Android.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/hostapd/Android.mk b/hostapd/Android.mk
index f2c498d..b4e6ef3 100644
--- a/hostapd/Android.mk
+++ b/hostapd/Android.mk
@@ -127,6 +127,15 @@ endif
endif
OBJS += src/utils/eloop.c
+
+ifdef CONFIG_ELOOP_POLL
+L_CFLAGS += -DCONFIG_ELOOP_POLL
+endif
+
+ifdef CONFIG_ELOOP_EPOLL
+L_CFLAGS += -DCONFIG_ELOOP_EPOLL
+endif
+
OBJS += src/utils/common.c
OBJS += src/utils/wpa_debug.c
OBJS += src/utils/wpabuf.c