[Feature]add MT2731_MP2_MR2_SVN388 baseline version
Change-Id: Ief04314834b31e27effab435d3ca8ba33b499059
diff --git a/src/bsp/lk/kernel/rules.mk b/src/bsp/lk/kernel/rules.mk
new file mode 100644
index 0000000..fc7cd16
--- /dev/null
+++ b/src/bsp/lk/kernel/rules.mk
@@ -0,0 +1,27 @@
+LOCAL_DIR := $(GET_LOCAL_DIR)
+
+MODULE := $(LOCAL_DIR)
+
+MODULE_DEPS := \
+ lib/libc \
+ lib/debug \
+ lib/heap
+
+MODULE_SRCS := \
+ $(LOCAL_DIR)/debug.c \
+ $(LOCAL_DIR)/event.c \
+ $(LOCAL_DIR)/init.c \
+ $(LOCAL_DIR)/mutex.c \
+ $(LOCAL_DIR)/thread.c \
+ $(LOCAL_DIR)/timer.c \
+ $(LOCAL_DIR)/semaphore.c \
+ $(LOCAL_DIR)/mp.c \
+ $(LOCAL_DIR)/port.c
+
+ifeq ($(WITH_KERNEL_VM),1)
+MODULE_DEPS += kernel/vm
+else
+MODULE_DEPS += kernel/novm
+endif
+
+include make/module.mk