From e00119183747f0f4a49b01cb01d36e8d6ec6229e Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Thu, 16 Aug 2012 17:53:05 +0300 Subject: [PATCH] Add "make fips" for wpa_supplicant builds with OpenSSL This can be used for convenience to build wpa_supplicant with OpenSSL FIPS object module. CONFIG_FIPS=y is expected to be used in wpa_supplicant/.config when using this option. Signed-hostap: Jouni Malinen --- wpa_supplicant/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index 4f79f0010..a73b737e9 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -1583,6 +1583,11 @@ test-eap_sim_common: $(TEST_EAP_SIM_COMMON_OBJS) tests: test-eap_sim_common +FIPSDIR=/usr/local/ssl/fips-2.0 +FIPSLD=$(FIPSDIR)/bin/fipsld +fips: + $(MAKE) CC=$(FIPSLD) FIPSLD_CC="$(CC)" + clean: $(MAKE) -C ../src clean $(MAKE) -C dbus clean