[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit
Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/ap/lib/libdebug_info/Makefile b/ap/lib/libdebug_info/Makefile
new file mode 100755
index 0000000..b2178ee
--- /dev/null
+++ b/ap/lib/libdebug_info/Makefile
@@ -0,0 +1,31 @@
+#*******************************************************************************
+# include ZTE library makefile
+#*******************************************************************************
+include $(COMMON_MK)
+
+LIB_STATIC = libdebug_info.a
+LIB_SHARED = libdebug_info.so
+
+OBJS = debug_info.o
+
+#定义宏和头文件目录,要用+=,不要用=,否则会覆盖COMMON_MK里的值
+CFLAGS += -g
+#CFLAGS += -I$(APP_DIR)/include
+
+#下面不要修改
+CFLAGS += -fPIC
+LDFLAGS += -shared
+
+all: $(LIB_STATIC) $(LIB_SHARED)
+
+$(LIB_STATIC) : $(OBJS)
+ $(AR) rcs $(LIB_STATIC) $(OBJS)
+
+$(LIB_SHARED): $(OBJS)
+ $(CC) $(LDFLAGS) -o $@ $^
+
+romfs:
+ $(ROMFSINST) $(LIB_SHARED) /lib/$(LIB_SHARED)
+
+clean:
+ -@rm *.a *.o *.so $(LIB_SHARED) $(LIB_STATIC) $(OBJS)
\ No newline at end of file