git: 3332f1b444d4 - main - wpa: Remove duplicate options definitions

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Fri, 12 Nov 2021 03:25:06 UTC
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/src/commit/?id=3332f1b444d4a73238e9f59cca27bfc95fe936bd

commit 3332f1b444d4a73238e9f59cca27bfc95fe936bd
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2021-11-09 00:16:46 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2021-11-12 03:03:05 +0000

    wpa: Remove duplicate options definitions
    
    Global options are defined in usr.sbin/wpa/Makefile.inc. Those in
    usr.sbin/wpa/src/crypto/Makefile are duplicates of those found above.
    Remove them.
    
    MFC after:      1 week
---
 usr.sbin/wpa/src/crypto/Makefile | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/usr.sbin/wpa/src/crypto/Makefile b/usr.sbin/wpa/src/crypto/Makefile
index c95834279c21..eede671aa7db 100644
--- a/usr.sbin/wpa/src/crypto/Makefile
+++ b/usr.sbin/wpa/src/crypto/Makefile
@@ -139,20 +139,6 @@ SRCS+=	dh_groups.c
 .endif
 
 .if ${MK_WPA_SUPPLICANT_EAPOL} != "no"
-CFLAGS+=-DCONFIG_WPS \
-	-DCONFIG_HS20 \
-	-DCONFIG_INTERWORKING \
-	-DEAP_GTC \
-	-DEAP_LEAP \
-	-DEAP_MD5 \
-	-DEAP_MSCHAPv2 \
-	-DEAP_OTP \
-	-DEAP_PEAP \
-	-DEAP_PSK \
-	-DEAP_TLS \
-	-DEAP_TTLS \
-	-DEAP_WSC \
-	-DIEEE8021X_EAPOL
 SRCS+=	ms_funcs.c
 .endif