aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 8d23557..66aefa9 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
@@ -1442,8 +1440,6 @@ include $(BUILD_EXECUTABLE)
#
########################
-endif # ifeq ($(WPA_BUILD_SUPPLICANT),true)
-
include $(CLEAR_VARS)
LOCAL_MODULE = libwpa_client
LOCAL_CFLAGS = $(L_CFLAGS)