aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Makefile
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2020-02-29 14:52:39 (GMT)
committerJouni Malinen <j@w1.fi>2020-02-29 15:45:25 (GMT)
commit200c7693c9a145508b1850befb200430c1c6a984 (patch)
treedc7a3760e80ab608704620e9ec9927392cab7e86 /hostapd/Makefile
parentbca44f4e4ed5a3c63cc5cebd9c85ffe4299f6db6 (diff)
downloadhostap-200c7693c9a145508b1850befb200430c1c6a984.zip
hostap-200c7693c9a145508b1850befb200430c1c6a984.tar.gz
hostap-200c7693c9a145508b1850befb200430c1c6a984.tar.bz2
Make WEP functionality an optional build parameter
WEP should not be used for anything anymore. As a step towards removing it completely, move all WEP related functionality to be within CONFIG_WEP blocks. This will be included in builds only if CONFIG_WEP=y is explicitly set in build configuration. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'hostapd/Makefile')
-rw-r--r--hostapd/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/hostapd/Makefile b/hostapd/Makefile
index dbe0403..0a3b8dd 100644
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -1238,6 +1238,10 @@ OBJS += ../src/fst/fst_ctrl_iface.o
endif
endif
+ifdef CONFIG_WEP
+CFLAGS += -DCONFIG_WEP
+endif
+
ALL=hostapd hostapd_cli
all: verify_config $(ALL)