[Feature]add MT2731_MP2_MR2_SVN388 baseline version
Change-Id: Ief04314834b31e27effab435d3ca8ba33b499059
diff --git a/src/bach/build.bach/work/libmodem-afe-ctrl/mt2731/Makefile b/src/bach/build.bach/work/libmodem-afe-ctrl/mt2731/Makefile
new file mode 100644
index 0000000..7910642
--- /dev/null
+++ b/src/bach/build.bach/work/libmodem-afe-ctrl/mt2731/Makefile
@@ -0,0 +1,57 @@
+# @see http://mtkswits01/~wimac
+# @see libbase/Makefile
+# @see libbase/Makefile.config
+PREFIX = ../install
+NAME = modemafectrl
+COMPILER = GNU
+CROSS = arm-linux-
+CROSS_SUP= arm-linux- arm-none-eabi- aarch64-linux-
+OFLAGS ?= -g -Os -fPIC -Wno-missing-braces
+CFLAGS = $(OFLAGS) $(DEF_CFLAGS)
+ifeq ($(strip $(CROSS)), arm-linux-)
+ CFLAGS += -mthumb-interwork
+endif
+INCLUDE_ADD = -I$(ROOT)/include/logger
+CXXFLAGS = $(CFLAGS) $(CXXFLAGS_ADD)
+CONFIG =
+
+DEP_LIBS =
+BACH_BUILD_DEP = liblogger # Bach asynchronous build dependency directives
+##
+# @brief
+# base_init: single alone application
+# bsp_init - single alone application with IRQ support (CISR object)
+# syss_init - with threadX operating system
+# @note active iff NEWLIB=1
+##
+INIT = syss_init
+LDFLAGS = $(BB_LDFLAGS_ADD) -L. -L $(ROOT)/lib -L $(ROOT)/usr/lib -lpthread -lmodemafectrl -lasound -lmtk_audio_mixer_ctrl
+LIB = lib$(NAME).a lib$(NAME).so
+ALL =
+CLEAN =
+INSTALL = __install
+STRICT = 1
+ROOT = $(PREFIX)/$(CROSS:%-=%)
+include $(PREFIX)/Makefile.template
+include $(PREFIX)/Makefile.config
+
+ifeq ($(BT_AUDIO_PCM_INTERFACE), yes)
+ CFLAGS += -DBT_AUDIO_PCM_SUPPORT
+
+endif
+
+__install:
+ mkdir -p ../include
+ cp -af include/* ../include/
+
+ mkdir -p $(ROOT)/${base_libdir}/
+ cp lib$(NAME).so $(ROOT)/${base_libdir}/
+
+pack_rootfs:
+ # Shared library
+ mkdir -p $(PACK_TO)/${base_libdir}/
+ cp -af $(ROOT)/${base_libdir}/lib$(NAME).so $(PACK_TO)/${base_libdir}/
+ $(CROSS)strip $(PACK_TO)/${base_libdir}/lib$(NAME).so
+ ls -R $(PACK_TO)/${base_libdir}/lib$(NAME).so >> $(LIST)
+ du -c -h $(PACK_TO)/${base_libdir}/lib$(NAME).so >> $(SIZE)
+