Fix CONFIG_AP=y build without CONFIG_IEEE8021X_EAPOL=y
This commit is contained in:
parent
37a86b7b36
commit
25c226ea45
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue