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

Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/ap/lib/expat/expat.sig b/ap/lib/expat/expat.sig
new file mode 100644
index 0000000..40d8983
--- /dev/null
+++ b/ap/lib/expat/expat.sig
@@ -0,0 +1 @@
+823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86  ../../downloads/expat-2.1.0.tar.gz
diff --git a/ap/lib/expat/makefile b/ap/lib/expat/makefile
new file mode 100755
index 0000000..66345eb
--- /dev/null
+++ b/ap/lib/expat/makefile
@@ -0,0 +1,63 @@
+
+include $(COMMON_BASE_MK)
+
+NAME=expat
+SRC_DIR=expat-2.1.0
+SRC_TAR=expat-2.1.0.tar.gz
+INSTALL_DIR=$(LIB_DIR)/$(NAME)/install
+BUILD_DIR=build
+GEN_MAKEFILE=$(SRC_DIR)/Makefile
+
+CONFIG_OPTS = --target=arm-buildroot-linux --host=arm-buildroot-linux --build=x86_64-unknown-linux-gnu
+#CONFIG_OPTS += --exec-prefix=$(INSTALL_DIR)/usr
+#CONFIG_OPTS += --sysconfdir=$(INSTALL_DIR)/etc
+#CONFIG_OPTS += --localstatedir=/var
+#CONFIG_OPTS += --program-prefix=
+CONFIG_OPTS += --disable-gtk-doc
+CONFIG_OPTS += --disable-gtk-doc-html
+CONFIG_OPTS += --disable-doc
+CONFIG_OPTS += --disable-docs
+CONFIG_OPTS += --disable-documentation
+CONFIG_OPTS += --with-xmlto=no
+CONFIG_OPTS += --with-fop=no
+CONFIG_OPTS += --disable-dependency-tracking
+CONFIG_OPTS += --enable-ipv6
+CONFIG_OPTS += --disable-nls
+CONFIG_OPTS += --enable-static
+CONFIG_OPTS += --enable-shared
+
+
+export ac_cv_have_abstract_sockets=yes
+
+export CFLAGS :=
+export LDFLAGS :=
+
+all: $(GEN_MAKEFILE)
+	make -C $(SRC_DIR) all
+	make -C $(SRC_DIR) install
+
+$(GEN_MAKEFILE):
+	mkdir -p $(BUILD_DIR)
+	sha256sum -c $(NAME).sig
+	tar xf $(TOPDIR_AP)/downloads/$(SRC_TAR)
+	cd $(SRC_DIR); ./configure  --prefix=$(INSTALL_DIR) $(CONFIG_OPTS)
+
+clean:
+	-make -C $(SRC_DIR) distclean
+	-rm -fr $(BUILD_DIR) $(INSTALL_DIR) $(SRC_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
+
+populate_sdk:
+	cp -afvp $(INSTALL_DIR)/include/*  $(CROSS_COMPILE_SYSROOT)/usr/include/
+	cp -afvp $(INSTALL_DIR)/lib/*  $(CROSS_COMPILE_SYSROOT)/usr/lib/
+	cp -afvp $(INSTALL_DIR)/bin/*  $(CROSS_COMPILE_SYSROOT)/usr/bin/
+