From fa21e6c35b57718b17dfb1e85ba693160a82dcd6 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 15 Jun 2014 19:35:22 +0300 Subject: [PATCH] Fix CONFIG_MODULE_TESTS=y build without CONFIG_P2P=y Signed-off-by: Jouni Malinen --- wpa_supplicant/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index 817a69d64..8f7c23f65 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -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