]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Added CONFIG_WPS_UPNP for wpa_supplicant tests
authorJouni Malinen <jouni.malinen@atheros.com>
Fri, 6 Feb 2009 11:52:30 +0000 (13:52 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 6 Feb 2009 11:52:30 +0000 (13:52 +0200)
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.

wpa_supplicant/Makefile

index 9f7a785bc747c62c63fbe7b2ae6cd9b946a5f4d5..87b6092feca9a6a46927c19a730d04fd41c4b625 100644 (file)
@@ -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