[Feature]add MT2731_MP2_MR2_SVN388 baseline version
Change-Id: Ief04314834b31e27effab435d3ca8ba33b499059
diff --git a/src/bsp/lk/platform/am335x/rules.mk b/src/bsp/lk/platform/am335x/rules.mk
new file mode 100644
index 0000000..ecbf162
--- /dev/null
+++ b/src/bsp/lk/platform/am335x/rules.mk
@@ -0,0 +1,46 @@
+LOCAL_DIR := $(GET_LOCAL_DIR)
+
+MODULE := $(LOCAL_DIR)
+
+ARCH := arm
+ARM_CPU := cortex-a8
+CPU := generic
+
+ENABLE_THUMB := false
+
+GLOBAL_INCLUDES += \
+ $(LOCAL_DIR)/ti/include \
+ $(LOCAL_DIR)/ti/include/hw \
+ $(LOCAL_DIR)/ti/include/armv7a \
+ $(LOCAL_DIR)/ti/include/armv7a/am335x \
+
+MODULE_SRCS += \
+ $(LOCAL_DIR)/debug.c \
+ $(LOCAL_DIR)/timer.c \
+ $(LOCAL_DIR)/platform.c \
+ $(LOCAL_DIR)/interrupts.c \
+ $(LOCAL_DIR)/ti/drivers/uart_irda_cir.c \
+ $(LOCAL_DIR)/ti/drivers/dmtimer.c \
+ $(LOCAL_DIR)/ti/drivers/gpio_v2.c \
+ $(LOCAL_DIR)/ti/drivers/usb.c \
+ $(LOCAL_DIR)/ti/interrupt.c \
+
+MODULES += \
+
+MEMBASE := 0x80000000
+MEMSIZE ?= 0x10000000
+
+LINKER_SCRIPT += \
+ $(BUILDDIR)/system-onesegment.ld
+
+GLOBAL_DEFINES += \
+ SDRAM_BASE=$(MEMBASE) \
+ SDRAM_SIZE=$(MEMSIZE) \
+
+GLOBAL_CFLAGS += -Dam335x \
+
+MODULE_DEPS += \
+ lib/cbuf
+
+include make/module.mk
+