aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/Android.mk
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2012-06-11 19:51:06 (GMT)
committerJouni Malinen <j@w1.fi>2013-11-07 12:04:30 (GMT)
commit60cdfd7e257e9c5e0c032c2ce840c4e369943c49 (patch)
tree41716bf2c505f2f92e1f0455d715fbfe8413f1bc /wpa_supplicant/Android.mk
parente40634e6549ec483153a44dbc708d40dd91c2d7f (diff)
downloadhostap-60cdfd7e257e9c5e0c032c2ce840c4e369943c49.zip
hostap-60cdfd7e257e9c5e0c032c2ce840c4e369943c49.tar.gz
hostap-60cdfd7e257e9c5e0c032c2ce840c4e369943c49.tar.bz2
Android: Fix compilation without BOARD_WPA_SUPPLICANT_DRIVER
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'wpa_supplicant/Android.mk')
-rw-r--r--wpa_supplicant/Android.mk8
1 files changed, 2 insertions, 6 deletions
diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk
index a06a427..c1054e4 100644
--- a/wpa_supplicant/Android.mk
+++ b/wpa_supplicant/Android.mk
@@ -8,14 +8,12 @@
LOCAL_PATH := $(call my-dir)
PKG_CONFIG ?= pkg-config
-WPA_BUILD_SUPPLICANT := false
ifneq ($(BOARD_WPA_SUPPLICANT_DRIVER),)
- WPA_BUILD_SUPPLICANT := true
CONFIG_DRIVER_$(BOARD_WPA_SUPPLICANT_DRIVER) := y
+else
+ CONFIG_DRIVER_TEST := y
endif
-ifeq ($(WPA_BUILD_SUPPLICANT),true)
-
include $(LOCAL_PATH)/android.config
# To ignore possible wrong network configurations
@@ -1585,8 +1583,6 @@ include $(BUILD_EXECUTABLE)
#
########################
-endif # ifeq ($(WPA_BUILD_SUPPLICANT),true)
-
include $(CLEAR_VARS)
LOCAL_MODULE = libwpa_client
LOCAL_CFLAGS = $(L_CFLAGS)