From 60cdfd7e257e9c5e0c032c2ce840c4e369943c49 Mon Sep 17 00:00:00 2001 From: Dmitry Shmidt Date: Mon, 11 Jun 2012 12:51:06 -0700 Subject: [PATCH] Android: Fix compilation without BOARD_WPA_SUPPLICANT_DRIVER Signed-off-by: Dmitry Shmidt --- 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 a06a4270a..c1054e497 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)