|
@@ -822,20 +822,9 @@ endif
|
|
|
endif
|
|
|
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
|
|
|
-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
|
|
|
-endif
|
|
|
-endif
|
|
|
-
|
|
|
ifdef CONFIG_MACSEC
|
|
|
CFLAGS += -DCONFIG_MACSEC
|
|
|
+CONFIG_IEEE8021X_EAPOL=y
|
|
|
NEED_AES_ENCBLOCK=y
|
|
|
NEED_AES_UNWRAP=y
|
|
|
NEED_AES_WRAP=y
|
|
@@ -847,6 +836,18 @@ OBJS += ../src/pae/ieee802_1x_key.o
|
|
|
OBJS += ../src/pae/ieee802_1x_secy_ops.o
|
|
|
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
|
|
|
+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
|
|
|
+endif
|
|
|
+endif
|
|
|
+
|
|
|
ifdef CONFIG_AP
|
|
|
NEED_EAP_COMMON=y
|
|
|
NEED_RSN_AUTHENTICATOR=y
|