[Feature]add MT2731_MP2_MR2_SVN388 baseline version
Change-Id: Ief04314834b31e27effab435d3ca8ba33b499059
diff --git a/src/bsp/lk/lib/fastboot/rules.mk b/src/bsp/lk/lib/fastboot/rules.mk
new file mode 100644
index 0000000..edb4fc6
--- /dev/null
+++ b/src/bsp/lk/lib/fastboot/rules.mk
@@ -0,0 +1,22 @@
+LOCAL_DIR := $(GET_LOCAL_DIR)
+
+MODULE := $(LOCAL_DIR)
+
+MODULE_SRCS += \
+ $(LOCAL_DIR)/dl_commands.c \
+ $(LOCAL_DIR)/fastboot.c \
+ $(LOCAL_DIR)/ext_boot.c \
+
+MODULE_DEPS += \
+ lib/bio \
+ lib/mempool
+
+MODULE_COMPILEFLAGS += -Wno-sign-compare
+
+ifeq ($(strip $(ANDROID_2712)),yes)
+MODULE_COMPILEFLAGS += -DMT2712_ANDROID
+endif
+
+EXTRA_LINKER_SCRIPTS += $(LOCAL_DIR)/fastboot_oem_cmd.ld
+
+include make/module.mk