aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Android.mk
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2013-11-08 02:06:28 (GMT)
committerJouni Malinen <j@w1.fi>2013-11-08 11:04:51 (GMT)
commitbbd84e5f42a5e722d511f60c095018aee1c3c77d (patch)
tree6d9df59d2de08616faa57a517d44b0271b87bc0f /hostapd/Android.mk
parent5e42035ed920ccb5e5d3f870ef711da48a174582 (diff)
downloadhostap-bbd84e5f42a5e722d511f60c095018aee1c3c77d.zip
hostap-bbd84e5f42a5e722d511f60c095018aee1c3c77d.tar.gz
hostap-bbd84e5f42a5e722d511f60c095018aee1c3c77d.tar.bz2
Android: Add CONFIG_ACS option to makefile
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'hostapd/Android.mk')
-rw-r--r--hostapd/Android.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/hostapd/Android.mk b/hostapd/Android.mk
index cf570a7..d3c0550 100644
--- a/hostapd/Android.mk
+++ b/hostapd/Android.mk
@@ -860,6 +860,12 @@ endif
OBJS += src/drivers/driver_common.c
+ifdef CONFIG_ACS
+L_CFLAGS += -DCONFIG_ACS
+OBJS += src/ap/acs.c
+LIBS += -lm
+endif
+
ifdef CONFIG_NO_STDOUT_DEBUG
L_CFLAGS += -DCONFIG_NO_STDOUT_DEBUG
endif