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: ap-mgmt
ALL=ap-mgmt
include ../rules.include
CFLAGS += -DCONFIG_WNM
@ -26,11 +26,13 @@ ELIBS += $(SRC)/tls/libtls.a
OBJS += $(SRC)/drivers/driver_common.o
ap-mgmt: ap-mgmt.o $(OBJS) $(LIBS)
OBJS += ap-mgmt.o
_OBJS_VAR := OBJS
include ../../../src/objs.mk
ap-mgmt: $(OBJS) $(LIBS)
$(LDO) $(LDFLAGS) -o $@ $^ $(LIBS) $(ELIBS)
clean:
$(MAKE) -C $(SRC) clean
clean: common-clean
rm -f ap-mgmt *~ *.o *.d ../*~ ../*.o ../*.d
-include $(OBJS:%.o=%.d)