aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-02-06 11:52:30 (GMT)
committerJouni Malinen <j@w1.fi>2009-02-08 10:35:55 (GMT)
commitb112845c7f511fd073d962fa2eaee42e7759adde (patch)
tree52c97d609ebc422a6235c568fdfea4794b2da57a
parent9084e2b6e477b7f8ea5ece354b63edc330d565a0 (diff)
downloadhostap-06-b112845c7f511fd073d962fa2eaee42e7759adde.zip
hostap-06-b112845c7f511fd073d962fa2eaee42e7759adde.tar.gz
hostap-06-b112845c7f511fd073d962fa2eaee42e7759adde.tar.bz2
Added CONFIG_WPS_UPNP for wpa_supplicant tests
For now, this is just an undocumented build option to make it possible to build ../src/wps/*.o in a way that matches with hostapd needs. (cherry picked from commit e1c7954d5dc7c1d5a66e04808689fc004da37bad)
-rw-r--r--wpa_supplicant/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
index 1b79a38..81910e1 100644
--- a/wpa_supplicant/Makefile
+++ b/wpa_supplicant/Makefile
@@ -527,6 +527,16 @@ CONFIG_IEEE8021X_EAPOL=y
NEED_DH_GROUPS=y
NEED_SHA256=y
NEED_BASE64=y
+
+ifdef CONFIG_WPS_UPNP
+CFLAGS += -DCONFIG_WPS_UPNP
+OBJS += ../src/wps/wps_upnp.o
+OBJS += ../src/wps/wps_upnp_ssdp.o
+OBJS += ../src/wps/wps_upnp_web.o
+OBJS += ../src/wps/wps_upnp_event.o
+OBJS += ../src/wps/httpread.o
+endif
+
endif
ifdef CONFIG_EAP_IKEV2