From: Jouni Malinen Date: Mon, 13 Feb 2017 17:45:51 +0000 (+0200) Subject: FILS: Remove CRC32 dependency from build X-Git-Tag: hostap_2_7~1596 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5562a1a6eaf102d855b9c8dcf148a0ea277df2f;p=thirdparty%2Fhostap.git FILS: Remove CRC32 dependency from build The published P802.11ai version does not use CRC32 anymore, so remove inclusion of crc32.o into wpa_supplicant and hostapd builds based on CONFIG_FILS=y. Signed-off-by: Jouni Malinen --- diff --git a/hostapd/Android.mk b/hostapd/Android.mk index 8664cfa76..2c5925b86 100644 --- a/hostapd/Android.mk +++ b/hostapd/Android.mk @@ -264,7 +264,6 @@ endif ifdef CONFIG_FILS L_CFLAGS += -DCONFIG_FILS OBJS += src/ap/fils_hlp.c -NEED_CRC32=y NEED_SHA384=y NEED_AES_SIV=y endif @@ -866,10 +865,6 @@ ifdef NEED_ECC L_CFLAGS += -DCONFIG_ECC endif -ifdef NEED_CRC32 -OBJS += src/utils/crc32.c -endif - ifdef CONFIG_NO_RANDOM_POOL L_CFLAGS += -DCONFIG_NO_RANDOM_POOL else diff --git a/hostapd/Makefile b/hostapd/Makefile index dfa7b969b..75d841ec7 100644 --- a/hostapd/Makefile +++ b/hostapd/Makefile @@ -308,7 +308,6 @@ endif ifdef CONFIG_FILS CFLAGS += -DCONFIG_FILS OBJS += ../src/ap/fils_hlp.o -NEED_CRC32=y NEED_SHA384=y NEED_AES_SIV=y endif @@ -905,10 +904,6 @@ ifdef NEED_ECC CFLAGS += -DCONFIG_ECC endif -ifdef NEED_CRC32 -OBJS += ../src/utils/crc32.o -endif - ifdef CONFIG_NO_RANDOM_POOL CFLAGS += -DCONFIG_NO_RANDOM_POOL else diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk index 0f56f1d6a..9ff9b9989 100644 --- a/wpa_supplicant/Android.mk +++ b/wpa_supplicant/Android.mk @@ -247,7 +247,6 @@ endif ifdef CONFIG_FILS L_CFLAGS += -DCONFIG_FILS -NEED_CRC32=y NEED_SHA384=y NEED_AES_SIV=y endif @@ -1305,10 +1304,6 @@ ifdef NEED_ECC L_CFLAGS += -DCONFIG_ECC endif -ifdef NEED_CRC32 -OBJS += src/utils/crc32.c -endif - ifdef CONFIG_NO_RANDOM_POOL L_CFLAGS += -DCONFIG_NO_RANDOM_POOL else diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index 460441c15..4455dca1a 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -280,7 +280,6 @@ endif ifdef CONFIG_FILS CFLAGS += -DCONFIG_FILS -NEED_CRC32=y NEED_SHA384=y NEED_AES_SIV=y endif @@ -1351,10 +1350,6 @@ ifdef NEED_ECC CFLAGS += -DCONFIG_ECC endif -ifdef NEED_CRC32 -OBJS += ../src/utils/crc32.o -endif - ifdef CONFIG_NO_RANDOM_POOL CFLAGS += -DCONFIG_NO_RANDOM_POOL else