The function wpa_config_get_line() is used by the wpa_supplicant config file parser to retrieve the next non-comment non-blank line. We'll need the same kind of functionality to implement the file-based external password backend, so as a preparatory step this commit extracts the function into its own standalone file in the utils package. No functional changes are expected from this commit. Signed-off-by: Patrick Steinhardt <ps@pks.im>
30 lines
464 B
Makefile
30 lines
464 B
Makefile
#CFLAGS += -DWPA_TRACE
|
|
CFLAGS += -DCONFIG_IPV6
|
|
CFLAGS += -DCONFIG_DEBUG_FILE
|
|
|
|
LIB_OBJS= \
|
|
base64.o \
|
|
bitfield.o \
|
|
common.o \
|
|
config.o \
|
|
crc32.o \
|
|
ip_addr.o \
|
|
json.o \
|
|
radiotap.o \
|
|
trace.o \
|
|
uuid.o \
|
|
wpa_debug.o \
|
|
wpabuf.o
|
|
|
|
# Pick correct OS wrapper implementation
|
|
LIB_OBJS += os_unix.o
|
|
|
|
# Pick correct event loop implementation
|
|
LIB_OBJS += eloop.o
|
|
|
|
# Pick correct edit implementation
|
|
LIB_OBJS += edit.o
|
|
|
|
#LIB_OBJS += pcsc_funcs.o
|
|
|
|
include ../lib.rules
|