Fix CONFIG_MODULE_TESTS=y build without CONFIG_P2P=y
authorJouni Malinen <j@w1.fi>
Sun, 15 Jun 2014 16:35:22 +0000 (19:35 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 15 Jun 2014 16:35:22 +0000 (19:35 +0300)
Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/Makefile

index 817a69d..8f7c23f 100644 (file)
@@ -1499,6 +1499,9 @@ OBJS += ../src/common/common_module_tests.o
 ifdef CONFIG_WPS
 OBJS += ../src/wps/wps_module_tests.o
 endif
+ifndef CONFIG_P2P
+OBJS += ../src/utils/bitfield.o
+endif
 endif
 
 OBJS += ../src/drivers/driver_common.o