From: Jouni Malinen Date: Sun, 23 May 2010 09:18:47 +0000 (+0300) Subject: Fix CONFIG_AP=y build without CONFIG_IEEE8021X_EAPOL=y X-Git-Tag: hostap-1-bp~1300 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25c226ea458f8f85efc1a48d18ef7bf384f49b42;p=thirdparty%2Fhostap.git Fix CONFIG_AP=y build without CONFIG_IEEE8021X_EAPOL=y --- diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index bdfa303c8..1d2562372 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -574,7 +574,9 @@ endif ifdef CONFIG_IEEE8021X_EAPOL # IEEE 802.1X/EAPOL state machines (e.g., for RADIUS authentication) CFLAGS += -DIEEE8021X_EAPOL -OBJS += ../src/eapol_supp/eapol_supp_sm.o ../src/eap_peer/eap.o ../src/eap_common/eap_common.o ../src/eap_peer/eap_methods.o +OBJS += ../src/eapol_supp/eapol_supp_sm.o +OBJS += ../src/eap_peer/eap.o ../src/eap_peer/eap_methods.o +NEED_EAP_COMMON=y ifdef CONFIG_DYNAMIC_EAP_METHODS CFLAGS += -DCONFIG_DYNAMIC_EAP_METHODS LIBS += -ldl -rdynamic @@ -583,6 +585,7 @@ endif ifdef CONFIG_AP NEED_80211_COMMON=y +NEED_EAP_COMMON=y NEED_RSN_AUTHENTICATOR=y CFLAGS += -DCONFIG_AP OBJS += ap.o @@ -1147,6 +1150,10 @@ ifdef NEED_80211_COMMON OBJS += ../src/common/ieee802_11_common.o endif +ifdef NEED_EAP_COMMON +OBJS += ../src/eap_common/eap_common.o +endif + ifndef CONFIG_MAIN CONFIG_MAIN=main endif