[Feature]add MT2731_MP2_MR2_SVN388 baseline version

Change-Id: Ief04314834b31e27effab435d3ca8ba33b499059
diff --git a/src/devtools/met-driver/met_drv/Makefile b/src/devtools/met-driver/met_drv/Makefile
new file mode 100644
index 0000000..6a98cfa
--- /dev/null
+++ b/src/devtools/met-driver/met_drv/Makefile
@@ -0,0 +1,33 @@
+ifeq (y,$(CONFIG_MODULES))
+
+ifeq ($(CONFIG_FTRACE),y)
+    ifeq ($(CONFIG_TRACING),y)
+        FTRACE_READY := y
+    endif
+endif
+
+#PLATFORM := $(subst ",,$(CONFIG_MTK_PLATFORM))
+PLATFORM := mt2712
+MET_COMMON_USE := yes
+
+$(info ******** Start to build met_drv for $(PLATFORM) ********)
+
+
+ifeq ($(MET_COMMON_USE),yes)
+    # met common code structure, new build flow
+    MET_COMMON_DIR := $(src)/common
+    ifeq ($(FTRACE_READY),y)
+        include $(MET_COMMON_DIR)/Kbuild
+        ccflags-y += -DCONFIG_MET_MODULE -DMET_PLF_USE
+        ccflags-y += -I$(MET_COMMON_DIR)/
+    else
+        $(warning Not building met.ko due to CONFIG_FTRACE/CONFIG_TRACING is not set)
+    endif
+else
+    $(warning not support $(PLATFORM), build met default)
+    MET_DEF_DIR := $(src)
+    include $(MET_DEF_DIR)/default/Kbuild
+endif
+else
+$(warning Not building met.ko due to CONFIG_MODULES is not set)
+endif