aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'hostapd/Makefile')
-rw-r--r--hostapd/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/hostapd/Makefile b/hostapd/Makefile
index 00d58e8..9d9ec33 100644
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -627,19 +627,16 @@ OBJS += ../src/crypto/sha256-internal.o
endif
endif
-ifdef CONFIG_INTERNAL_DH_GROUP5
ifdef NEED_DH_GROUPS
OBJS += ../src/crypto/dh_groups.o
-OBJS += ../src/crypto/dh_group5.o
-ifdef NEED_DH_GROUPS_ALL
-CFLAGS += -DALL_DH_GROUPS
-endif
endif
-else
ifdef NEED_DH_GROUPS_ALL
-OBJS += ../src/crypto/dh_groups.o
CFLAGS += -DALL_DH_GROUPS
endif
+ifdef CONFIG_INTERNAL_DH_GROUP5
+ifdef NEED_DH_GROUPS
+OBJS += ../src/crypto/dh_group5.o
+endif
endif
ifdef CONFIG_RADIUS_SERVER