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

Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/ap/lib/liblzo/makefile b/ap/lib/liblzo/makefile
new file mode 100755
index 0000000..44bb801
--- /dev/null
+++ b/ap/lib/liblzo/makefile
@@ -0,0 +1,33 @@
+
+include $(COMMON_BASE_MK)
+
+NAME=liblzo
+SRC_DIR=lzo-2.10
+INSTALL_DIR=$(LIB_DIR)/$(NAME)/install
+BUILD_DIR=build
+GEN_MAKEFILE=$(BUILD_DIR)/Makefile
+
+CONFIG_OPTS = --target=arm-linux --host=arm-linux
+CONFIG_OPTS += --enable-shared
+
+all: $(GEN_MAKEFILE)
+	make -C build all
+	make -C build install
+
+$(GEN_MAKEFILE):
+	mkdir -p $(BUILD_DIR)
+	cd $(BUILD_DIR); ../$(SRC_DIR)/configure --prefix=$(INSTALL_DIR) $(CONFIG_OPTS)
+
+clean:
+	-rm -fr $(BUILD_DIR) $(INSTALL_DIR)
+
+romfs:
+	cd $(INSTALL_DIR)/lib; \
+	for i in *.so*; do \
+		if [ -L $$i ]; then \
+			$(ROMFSINST) -s `find $$i -printf %l` /lib/$$i; \
+		elif [ -f $$i ]; then \
+			$(ROMFSINST) /lib/$$i; \
+		fi; \
+	done
+
diff --git a/ap/lib/liblzo/readme.txt b/ap/lib/liblzo/readme.txt
new file mode 100644
index 0000000..91fb2e5
--- /dev/null
+++ b/ap/lib/liblzo/readme.txt
@@ -0,0 +1,18 @@
+lzo cross compile for openvpn example
+
+download http://www.oberhumer.com/opensource/lzo/download/lzo-2.10.tar.gz
+
+file file md5 hash :39d3f3f9c55c87b1e5d6888e1420f4b5
+
+½âѹ£ºtar zxf lzo-2.10.tar.gz
+
+build    ±àÒëĿ¼£¨objÎļþµÈ£©
+install  ±àÒëÉú³ÉÎļþ£¬¿ÉÖ´ÐгÌÐò»òÕß¾²Ì¬¡¢¶¯Ì¬¿âÎļþ
+
+ʹÓÃ˵Ã÷£º
+
+Í·ÎļþĿ¼£º$(LIB_DIR)/liblzo/install/include
+           ÈçÅäÖÃCFLAGS£º-I$(LIB_DIR)/liblzo/install/include
+¿âĿ¼£º$(LIB_DIR)/liblzo/install/lib
+           ÈçÅäÖÃLDFLAGS£º-L$(LIB_DIR)/liblzo/install/lib -llzo2
+