aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/Makefile
diff options
context:
space:
mode:
authorLauri Hintsala <lauri.hintsala@silabs.com>2015-03-20 18:46:03 (GMT)
committerJouni Malinen <j@w1.fi>2015-03-29 17:37:39 (GMT)
commitce18c107733969be74eef387564db2ef1285df98 (patch)
treeda4e284fc63782551c736b62d53e89c50c34f9c8 /wpa_supplicant/Makefile
parent65a7b21f5ec22efe12d58cb3b760fb9e93ff8502 (diff)
downloadhostap-ce18c107733969be74eef387564db2ef1285df98.zip
hostap-ce18c107733969be74eef387564db2ef1285df98.tar.gz
hostap-ce18c107733969be74eef387564db2ef1285df98.tar.bz2
Add support for CONFIG_NO_ROAMING to Makefile
Commit e9af53ad39a19264bf5307a1b5923afc2b2f9b06 introduced new CONFIG_NO_ROAMING configuration parameter but unfortunately it was added only to Android.mk. Enabling this parameter didn't have any effect when Makefile was used to build wpa_supplicant. This commit fixes that problem and cleans "unused variable" compiler warning. Signed-off-by: Lauri Hintsala <lauri.hintsala@silabs.com>
Diffstat (limited to 'wpa_supplicant/Makefile')
-rw-r--r--wpa_supplicant/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
index 662e7f8..af2d924 100644
--- a/wpa_supplicant/Makefile
+++ b/wpa_supplicant/Makefile
@@ -317,6 +317,10 @@ CFLAGS += -DCONFIG_INTERWORKING
NEED_GAS=y
endif
+ifdef CONFIG_NO_ROAMING
+CFLAGS += -DCONFIG_NO_ROAMING
+endif
+
include ../src/drivers/drivers.mak
ifdef CONFIG_AP
OBJS_d += $(DRV_BOTH_OBJS)