[PATCH] wpa_supplicant: Fix compilation without BOARD_WPA_SUPPLICANT_DRIVER
Dmitry Shmidt
dimitrysh
Tue Nov 5 16:42:00 PST 2013
Change-Id: I4ee99454838185487065d3acbccf721aecf7f760
Signed-off-by: Dmitry Shmidt <dimitrysh at google.com>
---
wpa_supplicant/Android.mk | 8 ++------
1 file 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)
--
1.8.4.1
More information about the Hostap
mailing list