aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2012-06-11 12:51:06 -0700
committerDmitry Shmidt <dimitrysh@google.com>2012-06-11 12:51:06 -0700
commit1f42a6c19a5b3ace255b0e725dd407d10edb44af (patch)
tree7f721bb0ac7f6224a47cb9505e7fe59a7f775f5a
parent6e95f5f46d53a4c40386e2ef9ec87e56af9e2160 (diff)
downloadexternal_wpa_supplicant_8-1f42a6c19a5b3ace255b0e725dd407d10edb44af.zip
external_wpa_supplicant_8-1f42a6c19a5b3ace255b0e725dd407d10edb44af.tar.gz
external_wpa_supplicant_8-1f42a6c19a5b3ace255b0e725dd407d10edb44af.tar.bz2
wpa_supplicant: Fix compilation without BOARD_WPA_SUPPLICANT_DRIVER
Change-Id: I4ee99454838185487065d3acbccf721aecf7f760 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
-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 4d11771..c6cf80b 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
@@ -1453,8 +1451,6 @@ include $(BUILD_EXECUTABLE)
#
########################
-endif # ifeq ($(WPA_BUILD_SUPPLICANT),true)
-
include $(CLEAR_VARS)
LOCAL_MODULE = libwpa_client
LOCAL_CFLAGS = $(L_CFLAGS)