wpa: Correctly build the hostapd BSD driver

driver.bsd.c initializes itself differently when built for
hostapd than it does when built for wpa_supplicant.

MFC after:	1 week
This commit is contained in:
Cy Schubert 2021-08-26 15:59:03 -07:00
parent b792434150
commit a0f2aa9318
3 changed files with 4 additions and 2 deletions

View File

@ -5,12 +5,14 @@
.include "../Makefile.crypto"
.PATH.c:${HOSTAPD_DISTDIR}
.PATH.c:${HOSTAPD_DISTDIR} \
${WPA_DISTDIR}/src/drivers
PACKAGE= hostapd
PROG= hostapd
SRCS= config_file.c \
ctrl_iface.c \
driver_bsd.c \
eap_register.c \
main.c

View File

@ -10,7 +10,6 @@ INTERNALLIB=
.PATH: ${WPA_DISTDIR}/src/drivers
SRCS= drivers.c \
driver_bsd.c \
driver_common.c \
driver_wired.c \
driver_wired_common.c

View File

@ -18,6 +18,7 @@ SRCS= blacklist.c \
config_file.c \
ctrl_iface.c \
ctrl_iface_unix.c \
driver_bsd.c \
eap_register.c \
events.c \
gas_query.c \