[Feature]add MT2731_MP2_MR2_SVN388 baseline version

Change-Id: Ief04314834b31e27effab435d3ca8ba33b499059
diff --git a/meta/meta-mediatek-ivt/recipes-yummy/libmdlogger_plugin/libmdlogger-plugin_1.0.0.bb b/meta/meta-mediatek-ivt/recipes-yummy/libmdlogger_plugin/libmdlogger-plugin_1.0.0.bb
new file mode 100644
index 0000000..de0ce85
--- /dev/null
+++ b/meta/meta-mediatek-ivt/recipes-yummy/libmdlogger_plugin/libmdlogger-plugin_1.0.0.bb
@@ -0,0 +1,64 @@
+#Basic Configuration
+DESCRIPTION = "This module is used to provide AT command handler function interfaces for eemcs_mdlogger."
+SECTION = "base"
+LICENSE = "MediaTekProprietary"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e1696b147d49d491bcb4da1a57173fff"
+MTK_SRC = "${BACH_SRC}/libmdlogger_plugin"
+MODEMINIT_OUT = "${WORKDIR}/out"
+CROSS = "${TARGET_PREFIX}"
+PROJECT = "${PROJ_NAME}"
+WORKONSRC = "${MTK_SRC}"
+DEPENDS="custom libatcputil"
+
+INCLUDE_ADD = "-I${STAGING_DIR_HOST}/usr/include -I${STAGING_DIR_HOST}/usr/include/logger "
+CFLAGS  = "--sysroot ${STAGING_DIR_HOST}"
+LDFLAGS = "--sysroot ${STAGING_DIR_HOST}"
+
+
+inherit deploy workonsrc
+
+FILES_${PN} = "${base_libdir}/atcp_plugin/libmdlogger_plugin.so \
+			   ${base_bindir} \
+               ${base_libdir}/*.so"
+
+FILES_${PN}-doc = "/doc"
+
+FILES_${PN}-dev = "/test \
+                   ${includedir}"
+
+FILES_${PN}-dbg = "/usr/src/debug \
+				   ${base_libdir}/atcp_plugin/.debug \
+				   ${base_bindir}/.debug \
+				   ${base_libdir}/.debug \
+				   ${base_sbindir}/.debug"
+
+               
+#Skip strip check in QA test.
+INSANE_SKIP_${PN} += "already-stripped"
+
+
+EXTRA_OEMAKE = "'CROSS=${CROSS}'\
+                'ROOT=${STAGING_DIR_HOST}'\
+				'PREFIX=${BACH_PREFIX}'\
+				'PACKAGE_ARCH=${PACKAGE_ARCH}'\
+                'BB_INCLUDE_ADD=${INCLUDE_ADD}'\
+                'BB_LDFLAGS_ADD=${LDFLAGS}'\
+                'BB_CFLAGS_ADD=${CFLAGS}'"
+
+do_install () {
+    oe_runmake install ROOT=${D}
+	
+	if [ -d "${D}/include" ]; then
+		install -d ${D}${includedir}
+		cp -af ${D}/include/* ${D}${includedir}
+		rm -rf ${D}/include
+	fi
+}
+
+addtask bachclean
+do_bachclean() {
+    oe_runmake clean
+}
+
+
+