Fix build with both CONFIG_AP=y and CONFIG_IBSS_RSN=y enabled
This commit is contained in:
parent
05df8cb3f6
commit
3680a5dbbf
1 changed files with 16 additions and 21 deletions
|
@ -143,19 +143,9 @@ CFLAGS += -DCONFIG_NO_WPA -DCONFIG_NO_WPA2
|
|||
endif
|
||||
|
||||
ifdef CONFIG_IBSS_RSN
|
||||
NEED_RSN_AUTHENTICATOR=y
|
||||
CFLAGS += -DCONFIG_IBSS_RSN
|
||||
OBJS += ibss_rsn.o
|
||||
OBJS += ../hostapd/wpa.o
|
||||
NEED_AES_WRAP=y
|
||||
OBJS += ../hostapd/wpa_auth_ie.o
|
||||
OBJS += ../hostapd/pmksa_cache.o
|
||||
OBJS += ../src/radius/radius.o
|
||||
ifdef CONFIG_IEEE80211R
|
||||
OBJS += ../hostapd/wpa_ft.o
|
||||
endif
|
||||
ifdef CONFIG_PEERKEY
|
||||
OBJS += ../hostapd/peerkey.o
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef CONFIG_NO_WPA2
|
||||
|
@ -572,6 +562,7 @@ endif
|
|||
endif
|
||||
|
||||
ifdef CONFIG_AP
|
||||
NEED_RSN_AUTHENTICATOR=y
|
||||
CFLAGS += -DCONFIG_AP
|
||||
OBJS += ap.o
|
||||
CFLAGS += -DCONFIG_NO_RADIUS
|
||||
|
@ -581,10 +572,6 @@ OBJS += ../hostapd/hostapd.o
|
|||
OBJS += ../hostapd/config.o
|
||||
OBJS += ../src/utils/ip_addr.o
|
||||
OBJS += ../hostapd/sta_info.o
|
||||
OBJS += ../hostapd/wpa.o
|
||||
NEED_AES_WRAP=y
|
||||
OBJS += ../hostapd/pmksa_cache.o
|
||||
OBJS += ../hostapd/wpa_auth_ie.o
|
||||
OBJS += ../hostapd/tkip_countermeasures.o
|
||||
OBJS += ../hostapd/mlme.o
|
||||
OBJS += ../hostapd/ieee802_1x.o
|
||||
|
@ -594,12 +581,6 @@ OBJS += ../hostapd/drv_callbacks.o
|
|||
ifdef CONFIG_CTRL_IFACE
|
||||
OBJS += ../hostapd/ctrl_iface_ap.o
|
||||
endif
|
||||
ifdef CONFIG_IEEE80211R
|
||||
OBJS += ../hostapd/wpa_ft.o
|
||||
endif
|
||||
ifdef CONFIG_PEERKEY
|
||||
OBJS += ../hostapd/peerkey.o
|
||||
endif
|
||||
|
||||
CFLAGS += -DEAP_SERVER
|
||||
OBJS += ../src/eap_server/eap.o
|
||||
|
@ -621,6 +602,20 @@ OBJS += ../src/eap_server/eap_wsc.o
|
|||
endif
|
||||
endif
|
||||
|
||||
ifdef NEED_RSN_AUTHENTICATOR
|
||||
CFLAGS += -DCONFIG_NO_RADIUS
|
||||
NEED_AES_WRAP=y
|
||||
OBJS += ../hostapd/wpa.o
|
||||
OBJS += ../hostapd/wpa_auth_ie.o
|
||||
OBJS += ../hostapd/pmksa_cache.o
|
||||
ifdef CONFIG_IEEE80211R
|
||||
OBJS += ../hostapd/wpa_ft.o
|
||||
endif
|
||||
ifdef CONFIG_PEERKEY
|
||||
OBJS += ../hostapd/peerkey.o
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef CONFIG_EAP_SERVER
|
||||
CFLAGS += -DEAP_SERVER
|
||||
OBJS_h += ../src/eap_server/eap.o
|
||||
|
|
Loading…
Reference in a new issue