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

Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/ap/lib/Makefile b/ap/lib/Makefile
new file mode 100755
index 0000000..c6d174f
--- /dev/null
+++ b/ap/lib/Makefile
@@ -0,0 +1,31 @@
+#*******************************************************************************
+# Default target
+#*******************************************************************************
+#zte_lib := libsoft_timer libnvram
+
+include config_lib.mk
+
+.PHONY: all $(zte_lib) romfs
+
+ALL: all romfs
+
+all:
+	touch .sgbuilt_flag
+	for lib in ${zte_lib} ; do                                              \
+		${MAKE} -j1 -C $$lib all || exit $$?;                                          \
+	done;
+
+romfs:
+	mkdir -p $(ROOTFS_DIR)/lib
+	if [ -f .sgbuilt_flag ]; then                                           \
+		for lib in ${zte_lib} ; do                                          \
+			${MAKE} -j1 -C $$lib romfs || exit $$?;                                    \
+		done;                                                               \
+	fi;
+
+clean:
+	for lib in ${zte_lib} ; do                                          \
+		${MAKE} -j1 -C $$lib clean;                                     \
+	done;                                                               \
+	rm -f .sgbuilt_flag
+