[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit

Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/ap/hostapp/zlogtrace_ref/Makefile b/ap/hostapp/zlogtrace_ref/Makefile
new file mode 100755
index 0000000..ca07248
--- /dev/null
+++ b/ap/hostapp/zlogtrace_ref/Makefile
@@ -0,0 +1,20 @@
+EXEC  = zlogtrace
+
+CFLAGS += -I./localfs_save/
+CFLAGS += -I./localfs_save/config
+CFLAGS += -I./netport_rserial
+CFLAGS += -g
+
+SRCS = $(wildcard *.c ./localfs_save/*.c ./netcom_rserial/*.c )
+OBJS = $(patsubst %.c,%.o, $(SRCS))
+LDLIBS += -lpthread
+LDLIBS += -lm
+
+all: $(EXEC)
+
+$(EXEC): $(OBJS)
+	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ -Wl,--start-group $(LDLIBS) $(LDLIBS_$@) -Wl,--end-group
+	@cp $@ $@.elf
+
+clean:
+	-rm -f $(EXEC) $(OBJS) *.elf *.gdb *.o
\ No newline at end of file