1 # This file lists the configuration options that are used when building the
2 # hostapd binary. All lines starting with # are ignored. Configuration option
3 # lines must be commented out complete, if they are not to be included, i.e.,
4 # just setting VARIABLE=n is not disabling that variable.
6 # This file is included in Makefile, so variables like CFLAGS and LIBS can also
7 # be modified from here. In most cass, these lines should use += in order not
8 # to override previous values of the variables.
10 CFLAGS = $(TARGET_CFLAGS) -I../hostapd -I../utils -I../driver/modules -Wall -MMD
12 # for wpa_supplicant, wpa_cli
13 LIBS = $(TARGET_LDFLAGS)
16 LIBS_p = $(TARGET_LDFLAGS)
19 # Uncomment following two lines and fix the paths if you have installed openssl
20 # in non-default location
21 #CFLAGS += -I/usr/local/openssl/include
22 #LIBS += -L/usr/local/openssl/lib
24 # Example configuration for various cross-compilation platforms
26 #### sveasoft (e.g., for Linksys WRT54G) ######################################
28 #CC=/opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-uclibc-gcc
30 #CPPFLAGS += -I../src/include -I../../src/router/openssl/include
31 #LIBS += -L/opt/brcm/hndtools-mipsel-uclibc-0.9.19/lib -lssl
32 ###############################################################################
34 #### openwrt (e.g., for Linksys WRT54G) #######################################
36 #CC=/opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-uclibc-gcc
38 #CPPFLAGS=-I../src/include -I../openssl-0.9.7d/include \
39 # -I../WRT54GS/release/src/include
41 ###############################################################################
44 # Driver interface for Host AP driver
45 CONFIG_DRIVER_HOSTAP=y
47 # Driver interface for Agere driver
48 CONFIG_DRIVER_HERMES=y
50 # Driver interface for madwifi driver
51 #CONFIG_DRIVER_MADWIFI=y
52 # Change include directories to match with the local setup
53 #CFLAGS += -I../madwifi/wpa
55 # Driver interface for Prism54 driver
56 #CONFIG_DRIVER_PRISM54=y
58 # Driver interface for ndiswrapper
59 #CONFIG_DRIVER_NDISWRAPPER=y
61 # Driver interface for Atmel driver
62 #CONFIG_DRIVER_ATMEL=y
64 # Driver interface for Broadcom driver
65 #CONFIG_DRIVER_BROADCOM=y
66 # Example path for wlioctl.h; change to match your configuration
67 #CFLAGS += -I/opt/WRT54GS/release/src/include
69 # Driver interface for Intel ipw2100 driver
70 #CONFIG_DRIVER_IPW2100=y
72 # Driver interface for generic Linux wireless extensions
75 # Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
77 #CFLAGS += -I/usr/local/include
78 #LIBS += -L/usr/local/lib
80 # Driver interface for Windows NDIS
82 #CFLAGS += -I/usr/include/w32api/ddk
83 #LIBS += -L/usr/local/lib
84 # For native build using mingw
85 #CONFIG_NATIVE_WINDOWS=y
86 # Additional directories for cross-compilation on Linux host for mingw target
87 #CFLAGS += -I/opt/mingw/mingw32/include/ddk
88 #LIBS += -L/opt/mingw/mingw32/lib
91 # Driver interface for development testing
94 # Enable IEEE 802.1X Supplicant (automatically included if any EAP method is
96 CONFIG_IEEE8021X_EAPOL=y
98 # EAP-MD5 (automatically included if EAP-TTLS is enabled)
101 # EAP-MSCHAPv2 (automatically included if EAP-PEAP is enabled)
102 CONFIG_EAP_MSCHAPV2=y
119 # EAP-SIM (enable CONFIG_PCSC, if EAP-SIM is used)
122 # EAP-PSK (experimental; this is _not_ needed for WPA-PSK)
128 # EAP-AKA (enable CONFIG_PCSC, if EAP-AKA is used)
131 # PKCS#12 (PFX) support (used to read private key and certificate file from
132 # a file that usually has extension .p12 or .pfx)
135 # PC/SC interface for smartcards (USIM, GSM SIM)
136 # Enable this if EAP-SIM or EAP-AKA is included
139 # Development testing
142 # Replace native Linux implementation of packet sockets with libdnet/libpcap.
143 # This will be automatically set for non-Linux OS.
146 # Include control interface for external programs, e.g, wpa_cli
149 # Include interface for using external supplicant (Xsupplicant) for EAP
151 #CONFIG_XSUPPLICANT_IFACE=y
153 # Include support for GNU Readline and History Libraries in wpa_cli.
154 # When building a wpa_cli binary for distribution, please note that these
155 # libraries are licensed under GPL and as such, BSD license may not apply for
156 # the resulting binary.