aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2012-08-09 19:49:36 (GMT)
committerJouni Malinen <j@w1.fi>2012-08-09 20:18:32 (GMT)
commit7a56712c0cb4b9439f53c02ea3c4170126e3649a (patch)
tree46b14c9d4e2638c1589862a474e98c117a11cc01 /hostapd
parent82046b7a170210e2b3127da62cf747f237e40b9f (diff)
downloadhostap-7a56712c0cb4b9439f53c02ea3c4170126e3649a.zip
hostap-7a56712c0cb4b9439f53c02ea3c4170126e3649a.tar.gz
hostap-7a56712c0cb4b9439f53c02ea3c4170126e3649a.tar.bz2
AOSP: Define ANDROID_P2P for bcmdhd
Diffstat (limited to 'hostapd')
-rw-r--r--hostapd/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/hostapd/Android.mk b/hostapd/Android.mk
index 9ce0816..c1e5d8b 100644
--- a/hostapd/Android.mk
+++ b/hostapd/Android.mk
@@ -24,6 +24,10 @@ 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
+
# To force sizeof(enum) = 4
ifeq ($(TARGET_ARCH),arm)
L_CFLAGS += -mabi=aapcs-linux