aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Android.mk
diff options
context:
space:
mode:
authorKevin Cernekee <cernekee@google.com>2015-06-20 00:22:29 (GMT)
committerJouni Malinen <j@w1.fi>2015-06-26 19:46:16 (GMT)
commita1407217b1ca7eb3c401c22f01e6ddac0e067435 (patch)
tree794a41f6d0012e387a5b6daf6401fc9dd5134918 /hostapd/Android.mk
parent2ba4de37cb0d3f84e508a78f582bd6174875435f (diff)
downloadhostap-a1407217b1ca7eb3c401c22f01e6ddac0e067435.zip
hostap-a1407217b1ca7eb3c401c22f01e6ddac0e067435.tar.gz
hostap-a1407217b1ca7eb3c401c22f01e6ddac0e067435.tar.bz2
Android: Rename ANDROID_P2P_STUB to ANDROID_LIB_STUB
If BOARD_HOSTAPD_PRIVATE_LIB is not used on an Android build, we will need to replace both the p2p functions *and* wpa_driver_nl80211_driver_cmd in order to successfully link. Let's make the name more generic so it is more obvious what it is used for. Suggested-by: Dmitry Shmidt <dimitrysh@google.com> Signed-off-by: Kevin Cernekee <cernekee@google.com>
Diffstat (limited to 'hostapd/Android.mk')
-rw-r--r--hostapd/Android.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/hostapd/Android.mk b/hostapd/Android.mk
index 9dde32f..57158d8 100644
--- a/hostapd/Android.mk
+++ b/hostapd/Android.mk
@@ -29,8 +29,9 @@ L_CFLAGS += -Wno-unused-parameter
# Set Android extended P2P functionality
L_CFLAGS += -DANDROID_P2P
+
ifeq ($(BOARD_HOSTAPD_PRIVATE_LIB),)
-L_CFLAGS += -DANDROID_P2P_STUB
+L_CFLAGS += -DANDROID_LIB_STUB
endif
# Use Android specific directory for control interface sockets