| 1 | # Example wpa_supplicant build time configuration |
|---|
| 2 | # |
|---|
| 3 | # This file lists the configuration options that are used when building the |
|---|
| 4 | # hostapd binary. All lines starting with # are ignored. Configuration option |
|---|
| 5 | # lines must be commented out complete, if they are not to be included, i.e., |
|---|
| 6 | # just setting VARIABLE=n is not disabling that variable. |
|---|
| 7 | # |
|---|
| 8 | # This file is included in Makefile, so variables like CFLAGS and LIBS can also |
|---|
| 9 | # be modified from here. In most cass, these lines should use += in order not |
|---|
| 10 | # to override previous values of the variables. |
|---|
| 11 | |
|---|
| 12 | |
|---|
| 13 | # Uncomment following two lines and fix the paths if you have installed openssl |
|---|
| 14 | # in non-default location |
|---|
| 15 | #CFLAGS += -I/usr/local/openssl/include |
|---|
| 16 | #LIBS += -L/usr/local/openssl/lib |
|---|
| 17 | |
|---|
| 18 | # Example configuration for various cross-compilation platforms |
|---|
| 19 | |
|---|
| 20 | #### sveasoft (e.g., for Linksys WRT54G) ###################################### |
|---|
| 21 | #CC=mipsel-uclibc-gcc |
|---|
| 22 | #CC=/opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-uclibc-gcc |
|---|
| 23 | #CFLAGS += -Os |
|---|
| 24 | #CPPFLAGS += -I../src/include -I../../src/router/openssl/include |
|---|
| 25 | #LIBS += -L/opt/brcm/hndtools-mipsel-uclibc-0.9.19/lib -lssl |
|---|
| 26 | ############################################################################### |
|---|
| 27 | |
|---|
| 28 | #### openwrt (e.g., for Linksys WRT54G) ####################################### |
|---|
| 29 | #CC=mipsel-uclibc-gcc |
|---|
| 30 | #CC=/opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-uclibc-gcc |
|---|
| 31 | #CFLAGS += -Os |
|---|
| 32 | #CPPFLAGS=-I../src/include -I../openssl-0.9.7d/include \ |
|---|
| 33 | # -I../WRT54GS/release/src/include |
|---|
| 34 | #LIBS = -lssl |
|---|
| 35 | ############################################################################### |
|---|
| 36 | |
|---|
| 37 | |
|---|
| 38 | # Driver interface for Host AP driver |
|---|
| 39 | CONFIG_DRIVER_HOSTAP=y |
|---|
| 40 | |
|---|
| 41 | # Driver interface for Agere driver |
|---|
| 42 | #CONFIG_DRIVER_HERMES=y |
|---|
| 43 | # Change include directories to match with the local setup |
|---|
| 44 | #CFLAGS += -I../../hcf -I../../include -I../../include/hcf |
|---|
| 45 | #CFLAGS += -I../../include/wireless |
|---|
| 46 | |
|---|
| 47 | # Driver interface for madwifi driver |
|---|
| 48 | #CONFIG_DRIVER_MADWIFI=y |
|---|
| 49 | # Change include directories to match with the local setup |
|---|
| 50 | #CFLAGS += -I../madwifi/wpa |
|---|
| 51 | |
|---|
| 52 | # Driver interface for Prism54 driver |
|---|
| 53 | CONFIG_DRIVER_PRISM54=y |
|---|
| 54 | |
|---|
| 55 | # Driver interface for ndiswrapper |
|---|
| 56 | #CONFIG_DRIVER_NDISWRAPPER=y |
|---|
| 57 | |
|---|
| 58 | # Driver interface for Atmel driver |
|---|
| 59 | CONFIG_DRIVER_ATMEL=y |
|---|
| 60 | |
|---|
| 61 | # Driver interface for Broadcom driver |
|---|
| 62 | #CONFIG_DRIVER_BROADCOM=y |
|---|
| 63 | # Example path for wlioctl.h; change to match your configuration |
|---|
| 64 | #CFLAGS += -I/opt/WRT54GS/release/src/include |
|---|
| 65 | |
|---|
| 66 | # Driver interface for Intel ipw2100/2200 driver |
|---|
| 67 | #CONFIG_DRIVER_IPW=y |
|---|
| 68 | |
|---|
| 69 | # Driver interface for generic Linux wireless extensions |
|---|
| 70 | CONFIG_DRIVER_WEXT=y |
|---|
| 71 | |
|---|
| 72 | # Driver interface for FreeBSD net80211 layer (e.g., Atheros driver) |
|---|
| 73 | #CONFIG_DRIVER_BSD=y |
|---|
| 74 | #CFLAGS += -I/usr/local/include |
|---|
| 75 | #LIBS += -L/usr/local/lib |
|---|
| 76 | |
|---|
| 77 | # Driver interface for Windows NDIS |
|---|
| 78 | #CONFIG_DRIVER_NDIS=y |
|---|
| 79 | #CFLAGS += -I/usr/include/w32api/ddk |
|---|
| 80 | #LIBS += -L/usr/local/lib |
|---|
| 81 | # For native build using mingw |
|---|
| 82 | #CONFIG_NATIVE_WINDOWS=y |
|---|
| 83 | # Additional directories for cross-compilation on Linux host for mingw target |
|---|
| 84 | #CFLAGS += -I/opt/mingw/mingw32/include/ddk |
|---|
| 85 | #LIBS += -L/opt/mingw/mingw32/lib |
|---|
| 86 | #CC=mingw32-gcc |
|---|
| 87 | |
|---|
| 88 | # Driver interface for development testing |
|---|
| 89 | #CONFIG_DRIVER_TEST=y |
|---|
| 90 | |
|---|
| 91 | # Enable IEEE 802.1X Supplicant (automatically included if any EAP method is |
|---|
| 92 | # included) |
|---|
| 93 | CONFIG_IEEE8021X_EAPOL=y |
|---|
| 94 | |
|---|
| 95 | # EAP-MD5 (automatically included if EAP-TTLS is enabled) |
|---|
| 96 | CONFIG_EAP_MD5=y |
|---|
| 97 | |
|---|
| 98 | # EAP-MSCHAPv2 (automatically included if EAP-PEAP is enabled) |
|---|
| 99 | CONFIG_EAP_MSCHAPV2=y |
|---|
| 100 | |
|---|
| 101 | # EAP-TLS |
|---|
| 102 | CONFIG_EAP_TLS=y |
|---|
| 103 | |
|---|
| 104 | # EAL-PEAP |
|---|
| 105 | CONFIG_EAP_PEAP=y |
|---|
| 106 | |
|---|
| 107 | # EAP-TTLS |
|---|
| 108 | CONFIG_EAP_TTLS=y |
|---|
| 109 | |
|---|
| 110 | # EAP-GTC |
|---|
| 111 | CONFIG_EAP_GTC=y |
|---|
| 112 | |
|---|
| 113 | # EAP-OTP |
|---|
| 114 | CONFIG_EAP_OTP=y |
|---|
| 115 | |
|---|
| 116 | # EAP-SIM (enable CONFIG_PCSC, if EAP-SIM is used) |
|---|
| 117 | #CONFIG_EAP_SIM=y |
|---|
| 118 | |
|---|
| 119 | # EAP-PSK (experimental; this is _not_ needed for WPA-PSK) |
|---|
| 120 | #CONFIG_EAP_PSK=y |
|---|
| 121 | |
|---|
| 122 | # LEAP |
|---|
| 123 | CONFIG_EAP_LEAP=y |
|---|
| 124 | |
|---|
| 125 | # EAP-AKA (enable CONFIG_PCSC, if EAP-AKA is used) |
|---|
| 126 | #CONFIG_EAP_AKA=y |
|---|
| 127 | |
|---|
| 128 | # PKCS#12 (PFX) support (used to read private key and certificate file from |
|---|
| 129 | # a file that usually has extension .p12 or .pfx) |
|---|
| 130 | CONFIG_PKCS12=y |
|---|
| 131 | |
|---|
| 132 | # PC/SC interface for smartcards (USIM, GSM SIM) |
|---|
| 133 | # Enable this if EAP-SIM or EAP-AKA is included |
|---|
| 134 | #CONFIG_PCSC=y |
|---|
| 135 | |
|---|
| 136 | # Development testing |
|---|
| 137 | #CONFIG_EAPOL_TEST=y |
|---|
| 138 | |
|---|
| 139 | # Replace native Linux implementation of packet sockets with libdnet/libpcap. |
|---|
| 140 | # This will be automatically set for non-Linux OS. |
|---|
| 141 | #CONFIG_DNET_PCAP=y |
|---|
| 142 | |
|---|
| 143 | # Include control interface for external programs, e.g, wpa_cli |
|---|
| 144 | CONFIG_CTRL_IFACE=y |
|---|
| 145 | |
|---|
| 146 | # Include interface for using external supplicant (Xsupplicant) for EAP |
|---|
| 147 | # authentication |
|---|
| 148 | #CONFIG_XSUPPLICANT_IFACE=y |
|---|
| 149 | |
|---|
| 150 | # Include support for GNU Readline and History Libraries in wpa_cli. |
|---|
| 151 | # When building a wpa_cli binary for distribution, please note that these |
|---|
| 152 | # libraries are licensed under GPL and as such, BSD license may not apply for |
|---|
| 153 | # the resulting binary. |
|---|
| 154 | #CONFIG_READLINE=y |
|---|