aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/Makefile
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2016-03-15 13:40:14 (GMT)
committerJouni Malinen <j@w1.fi>2016-03-22 15:41:37 (GMT)
commit2e997eece5776eca0a99d53893e343539f9f8eb2 (patch)
tree0cb953a6723f566c7c62400439ce911416e330bb /wpa_supplicant/Makefile
parent45e3fc72c61a61dbd1e2fc3fd9fd7bf853b9f5fe (diff)
downloadhostap-2e997eece5776eca0a99d53893e343539f9f8eb2.zip
hostap-2e997eece5776eca0a99d53893e343539f9f8eb2.tar.gz
hostap-2e997eece5776eca0a99d53893e343539f9f8eb2.tar.bz2
Add interface matching support with -M, guarded by CONFIG_MATCH_IFACE
The new wpa_supplicant command line argument -M can be used to describe matching rules with a wildcard interface name (e.g., "wlan*"). This is very useful for systems without udev (Linux) or devd (FreeBSD). Signed-off-by: Roy Marples <roy@marples.name>
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 5f5a30a..550d44b 100644
--- a/wpa_supplicant/Makefile
+++ b/wpa_supplicant/Makefile
@@ -316,6 +316,10 @@ CFLAGS += -DCONFIG_NO_VLAN
OBJS += ibss_rsn.o
endif
+ifdef CONFIG_MATCH_IFACE
+CFLAGS += -DCONFIG_MATCH_IFACE
+endif
+
ifdef CONFIG_P2P
OBJS += p2p_supplicant.o
OBJS += p2p_supplicant_sd.o