diff options
author | Kevin Cernekee <cernekee@google.com> | 2015-06-19 17:22:29 -0700 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2015-06-26 22:46:16 +0300 |
commit | a1407217b1ca7eb3c401c22f01e6ddac0e067435 (patch) | |
tree | 794a41f6d0012e387a5b6daf6401fc9dd5134918 /hostapd/Android.mk | |
parent | 2ba4de37cb0d3f84e508a78f582bd6174875435f (diff) | |
download | hostap-a1407217b1ca7eb3c401c22f01e6ddac0e067435.tar.gz |
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.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hostapd/Android.mk b/hostapd/Android.mk index 9dde32f83..57158d831 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 |