2019-06-01 08:46:18 -04:00
|
|
|
all: ap-mgmt
|
|
|
|
include ../rules.include
|
|
|
|
|
|
|
|
CFLAGS += -DCONFIG_WNM
|
|
|
|
CFLAGS += -DCONFIG_INTERWORKING
|
|
|
|
CFLAGS += -DCONFIG_GAS
|
|
|
|
CFLAGS += -DCONFIG_HS20
|
|
|
|
CFLAGS += -DIEEE8021X_EAPOL
|
|
|
|
CFLAGS += -DNEED_AP_MLME
|
|
|
|
CFLAGS += -DCONFIG_AIRTIME_POLICY
|
|
|
|
|
|
|
|
LIBS += $(SRC)/common/libcommon.a
|
|
|
|
LIBS += $(SRC)/crypto/libcrypto.a
|
|
|
|
LIBS += $(SRC)/tls/libtls.a
|
|
|
|
LIBS += $(SRC)/wps/libwps.a
|
|
|
|
LIBS += $(SRC)/eap_server/libeap_server.a
|
|
|
|
LIBS += $(SRC)/eap_common/libeap_common.a
|
|
|
|
LIBS += $(SRC)/l2_packet/libl2_packet.a
|
|
|
|
LIBS += $(SRC)/ap/libap.a
|
|
|
|
LIBS += $(SRC)/eapol_auth/libeapol_auth.a
|
|
|
|
LIBS += $(SRC)/radius/libradius.a
|
|
|
|
LIBS += $(SRC)/utils/libutils.a
|
|
|
|
|
|
|
|
ELIBS += $(SRC)/crypto/libcrypto.a
|
|
|
|
ELIBS += $(SRC)/tls/libtls.a
|
|
|
|
|
2020-02-25 06:08:00 -05:00
|
|
|
OBJS += $(SRC)/drivers/driver_common.o
|
|
|
|
|
2019-06-01 08:46:18 -04:00
|
|
|
ap-mgmt: ap-mgmt.o $(OBJS) $(LIBS)
|
|
|
|
$(LDO) $(LDFLAGS) -o $@ $^ $(LIBS) $(ELIBS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
$(MAKE) -C $(SRC) clean
|
2019-06-03 06:51:41 -04:00
|
|
|
rm -f ap-mgmt *~ *.o *.d ../*~ ../*.o ../*.d
|
2019-06-01 08:46:18 -04:00
|
|
|
|
|
|
|
-include $(OBJS:%.o=%.d)
|