aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Android.mk
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2013-11-06 01:07:56 (GMT)
committerJouni Malinen <j@w1.fi>2013-11-07 12:01:28 (GMT)
commit3526ff0fadfbc0efddde53a5060a7e02b92f856a (patch)
treea86071ad102afa488d44b8e0a1ca995b413ad661 /hostapd/Android.mk
parentd0b273524077891f4855517b92379e6f1f5c06c9 (diff)
downloadhostap-3526ff0fadfbc0efddde53a5060a7e02b92f856a.zip
hostap-3526ff0fadfbc0efddde53a5060a7e02b92f856a.tar.gz
hostap-3526ff0fadfbc0efddde53a5060a7e02b92f856a.tar.bz2
Android: Add ANDROID_P2P define under BOARD_WLAN_DEVICE
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'hostapd/Android.mk')
-rw-r--r--hostapd/Android.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/hostapd/Android.mk b/hostapd/Android.mk
index c355723..e0ae862 100644
--- a/hostapd/Android.mk
+++ b/hostapd/Android.mk
@@ -24,6 +24,18 @@ L_CFLAGS += -DVERSION_STR_POSTFIX=\"-$(PLATFORM_VERSION)\"
# Set Android log name
L_CFLAGS += -DANDROID_LOG_NAME=\"hostapd\"
+ifeq ($(BOARD_WLAN_DEVICE), bcmdhd)
+L_CFLAGS += -DANDROID_P2P
+endif
+
+ifeq ($(BOARD_WLAN_DEVICE), qcwcn)
+L_CFLAGS += -DANDROID_P2P
+endif
+
+ifeq ($(BOARD_WLAN_DEVICE), mrvl)
+L_CFLAGS += -DANDROID_P2P
+endif
+
# To force sizeof(enum) = 4
ifeq ($(TARGET_ARCH),arm)
L_CFLAGS += -mabi=aapcs-linux