WPS 2.0: Make WSC 2.0 support to be build option (CONFIG_WPS2)
[libeap.git] / hostapd / Makefile
index 2361c0e..a91aeaa 100644 (file)
@@ -289,6 +289,10 @@ NEED_AES_UNWRAP=y
 endif
 
 ifdef CONFIG_WPS
+ifdef CONFIG_WPS2
+CFLAGS += -DCONFIG_WPS2
+endif
+
 CFLAGS += -DCONFIG_WPS -DEAP_SERVER_WSC
 OBJS += ../src/utils/uuid.o
 OBJS += ../src/ap/wps_hostapd.o