build: Use the new build system for fuzz tests

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
Johannes Berg 2020-10-11 09:58:57 +02:00 committed by Jouni Malinen
parent a49f628845
commit 00b5e99b65
18 changed files with 134 additions and 123 deletions

View file

@ -1,4 +1,4 @@
all: eapol-key-auth
ALL=eapol-key-auth
include ../rules.include
CFLAGS += -DCONFIG_IEEE80211R_AP
@ -19,11 +19,13 @@ LIBS += $(SRC)/radius/libradius.a
OBJS += $(SRC)/drivers/driver_common.o
eapol-key-auth: eapol-key-auth.o $(OBJS) $(LIBS)
OBJS += eapol-key-auth.o
_OBJS_VAR := OBJS
include ../../../src/objs.mk
eapol-key-auth: $(OBJS) $(LIBS)
$(LDO) $(LDFLAGS) -o $@ $^ -Wl,--start-group $(LIBS) -Wl,--end-group
clean:
$(MAKE) -C $(SRC) clean
clean: common-clean
rm -f eapol-key-auth *~ *.o *.d ../*~ ../*.o ../*.d
-include $(OBJS:%.o=%.d)