aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2013-11-28 13:34:24 (GMT)
committerJouni Malinen <j@w1.fi>2013-12-26 18:50:28 (GMT)
commit9d2cb3ec94f3a96864b680de5a8cec0aeed0ff94 (patch)
tree27ed7437b97c058d7dec3b47d8bad21bbb9b7c4e /hostapd
parent662b40b16b2d41bb5997a1875d41cf8a0dabc663 (diff)
downloadhostap-9d2cb3ec94f3a96864b680de5a8cec0aeed0ff94.zip
hostap-9d2cb3ec94f3a96864b680de5a8cec0aeed0ff94.tar.gz
hostap-9d2cb3ec94f3a96864b680de5a8cec0aeed0ff94.tar.bz2
Make CONFIG_TESTING_OPTIONS=y enable all testing options
This makes it easier to enable various testing parameters and functionality in build configuration. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'hostapd')
-rw-r--r--hostapd/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/hostapd/Makefile b/hostapd/Makefile
index e60ae9b..7537814 100644
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -15,6 +15,11 @@ CFLAGS += -I$(abspath ../src/utils)
-include .config
+ifdef CONFIG_TESTING_OPTIONS
+CFLAGS += -DCONFIG_TESTING_OPTIONS
+CONFIG_WPS_TESTING=y
+endif
+
ifndef CONFIG_OS
ifdef CONFIG_NATIVE_WINDOWS
CONFIG_OS=win32
@@ -858,10 +863,6 @@ LIBS += -lsqlite3
LIBS_h += -lsqlite3
endif
-ifdef CONFIG_TESTING_OPTIONS
-CFLAGS += -DCONFIG_TESTING_OPTIONS
-endif
-
ALL=hostapd hostapd_cli
all: verify_config $(ALL)