[Feature]add MT2731_MP2_MR2_SVN388 baseline version

Change-Id: Ief04314834b31e27effab435d3ca8ba33b499059
diff --git a/src/bsp/lk/make/build.mk b/src/bsp/lk/make/build.mk
new file mode 100644
index 0000000..42d642f
--- /dev/null
+++ b/src/bsp/lk/make/build.mk
@@ -0,0 +1,66 @@
+# use linker garbage collection, if requested
+ifeq ($(WITH_LINKER_GC),1)
+GLOBAL_COMPILEFLAGS += -ffunction-sections -fdata-sections
+GLOBAL_LDFLAGS += --gc-sections
+endif
+
+ifneq (,$(EXTRA_BUILDRULES))
+-include $(EXTRA_BUILDRULES)
+endif
+
+$(EXTRA_LINKER_SCRIPTS):
+
+$(OUTBIN): $(OUTELF)
+	@echo generating image: $@
+	$(NOECHO)$(SIZE) $<
+	$(NOECHO)$(OBJCOPY) -O binary $< $@
+
+$(OUTELF).hex: $(OUTELF)
+	@echo generating hex file: $@
+	$(NOECHO)$(OBJCOPY) -O ihex $< $@
+
+$(OUTELF): $(ALLMODULE_OBJS) $(EXTRA_OBJS) $(LINKER_SCRIPT) $(EXTRA_LINKER_SCRIPTS)
+	@echo linking $@
+	$(NOECHO)$(SIZE) -t --common $(sort $(ALLMODULE_OBJS)) $(EXTRA_OBJS)
+	$(NOECHO)$(LD) $(GLOBAL_LDFLAGS) -dT $(LINKER_SCRIPT) $(addprefix -T,$(EXTRA_LINKER_SCRIPTS)) \
+		$(ALLMODULE_OBJS) $(EXTRA_OBJS) $(LIBGCC) -o $@
+
+$(OUTELF).sym: $(OUTELF)
+	@echo generating symbols: $@
+	$(NOECHO)$(OBJDUMP) -t $< | $(CPPFILT) > $@
+
+$(OUTELF).sym.sorted: $(OUTELF)
+	@echo generating sorted symbols: $@
+	$(NOECHO)$(OBJDUMP) -t $< | $(CPPFILT) | sort > $@
+
+$(OUTELF).lst: $(OUTELF)
+	@echo generating listing: $@
+	$(NOECHO)$(OBJDUMP) -Mreg-names-raw -d $< | $(CPPFILT) > $@
+
+$(OUTELF).debug.lst: $(OUTELF)
+	@echo generating listing: $@
+	$(NOECHO)$(OBJDUMP) -Mreg-names-raw -S $< | $(CPPFILT) > $@
+
+$(OUTELF).dump: $(OUTELF)
+	@echo generating objdump: $@
+	$(NOECHO)$(OBJDUMP) -x $< > $@
+
+$(OUTELF).size: $(OUTELF)
+	@echo generating size map: $@
+	$(NOECHO)$(NM) -S --size-sort $< > $@
+
+# print some information about the build
+$(BUILDDIR)/srcfiles.txt:
+	@echo generating $@
+	$(NOECHO)echo $(sort $(ALLSRCS)) | tr ' ' '\n' > $@
+
+.PHONY: $(BUILDDIR)/srcfiles.txt
+
+$(BUILDDIR)/include_paths.txt:
+	@echo generating $@
+	$(NOECHO)echo $(subst -I,,$(sort $(GLOBAL_INCLUDES))) | tr ' ' '\n' > $@
+
+.PHONY: $(BUILDDIR)/include_paths.txt
+
+#include arch/$(ARCH)/compile.mk
+