From 5e42035ed920ccb5e5d3f870ef711da48a174582 Mon Sep 17 00:00:00 2001 From: Dmitry Shmidt Date: Thu, 7 Nov 2013 18:01:25 -0800 Subject: [PATCH] Android: Fix CONFIG_EAP_PROXY option and move it to right place Signed-off-by: Dmitry Shmidt --- wpa_supplicant/Android.mk | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk index eda310601..9df254350 100644 --- a/wpa_supplicant/Android.mk +++ b/wpa_supplicant/Android.mk @@ -504,6 +504,13 @@ CONFIG_EAP_SIM_COMMON=y NEED_AES_CBC=y endif +ifdef CONFIG_EAP_PROXY +L_CFLAGS += -DCONFIG_EAP_PROXY +OBJS += src/eap_peer/eap_proxy_$(CONFIG_EAP_PROXY).c +include eap_proxy_$(CONFIG_EAP_PROXY).mk +CONFIG_IEEE8021X_EAPOL=y +endif + ifdef CONFIG_EAP_AKA_PRIME # EAP-AKA' ifeq ($(CONFIG_EAP_AKA_PRIME), dyn) @@ -1550,12 +1557,6 @@ ifneq ($(BOARD_WPA_SUPPLICANT_PRIVATE_LIB),) LOCAL_STATIC_LIBRARIES += $(BOARD_WPA_SUPPLICANT_PRIVATE_LIB) endif LOCAL_SHARED_LIBRARIES := libc libcutils liblog - -ifdef CONFIG_EAP_PROXY -OBJS += src/eap_peer/eap_proxy_$(CONFIG_EAP_PROXY).c -include $(LOCAL_PATH)/eap_proxy_$(CONFIG_EAP_PROXY).mk -endif - ifeq ($(CONFIG_TLS), openssl) LOCAL_SHARED_LIBRARIES += libcrypto libssl libkeystore_binder endif