summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 5460ab43..2004eba3 100644
--- a/Android.mk
+++ b/Android.mk
@@ -35,6 +35,10 @@ LOCAL_CFLAGS :=
LOCAL_SHARED_LIBRARIES := libstlport libsysutils libcutils libnetutils \
libcrypto libhardware_legacy
+ifneq ($(BOARD_HOSTAPD_DRIVER),)
+ LOCAL_CFLAGS += -DHAVE_HOSTAPD
+endif
+
ifeq ($(BOARD_HAVE_BLUETOOTH),true)
LOCAL_SHARED_LIBRARIES := $(LOCAL_SHARED_LIBRARIES) libbluedroid
LOCAL_CFLAGS := $(LOCAL_CFLAGS) -DHAVE_BLUETOOTH