[Feature]add MT2731_MP2_MR2_SVN388 baseline version
Change-Id: Ief04314834b31e27effab435d3ca8ba33b499059
diff --git a/src/bsp/lk/lib/libm/rules.mk b/src/bsp/lk/lib/libm/rules.mk
new file mode 100644
index 0000000..0239453
--- /dev/null
+++ b/src/bsp/lk/lib/libm/rules.mk
@@ -0,0 +1,42 @@
+LOCAL_DIR := $(GET_LOCAL_DIR)
+
+MODULE := $(LOCAL_DIR)
+
+MODULE_CFLAGS += -Wno-unused-variable -Wno-sign-compare -Wno-parentheses
+
+MODULE_SRCS += \
+ $(LOCAL_DIR)/k_sin.c \
+ $(LOCAL_DIR)/s_sin.c \
+ $(LOCAL_DIR)/s_sinf.c \
+ $(LOCAL_DIR)/k_cos.c \
+ $(LOCAL_DIR)/s_cos.c \
+ $(LOCAL_DIR)/s_cosf.c \
+ $(LOCAL_DIR)/k_tan.c \
+ $(LOCAL_DIR)/s_tan.c \
+ $(LOCAL_DIR)/s_tanf.c \
+ $(LOCAL_DIR)/e_sqrt.c \
+ $(LOCAL_DIR)/e_sqrtf.c \
+ $(LOCAL_DIR)/k_rem_pio2.c \
+ $(LOCAL_DIR)/s_floor.c \
+ $(LOCAL_DIR)/s_scalbn.c \
+ $(LOCAL_DIR)/s_scalbnf.c \
+ $(LOCAL_DIR)/s_copysign.c \
+ $(LOCAL_DIR)/s_copysignf.c \
+ $(LOCAL_DIR)/e_acos.c \
+ $(LOCAL_DIR)/e_acosf.c \
+ $(LOCAL_DIR)/e_asin.c \
+ $(LOCAL_DIR)/e_asinf.c \
+ $(LOCAL_DIR)/e_pow.c \
+ $(LOCAL_DIR)/e_powf.c \
+ $(LOCAL_DIR)/s_fabs.c \
+ $(LOCAL_DIR)/s_fabsf.c \
+ $(LOCAL_DIR)/e_fmod.c \
+ $(LOCAL_DIR)/e_log.c \
+ $(LOCAL_DIR)/e_exp.c \
+ $(LOCAL_DIR)/s_round.c \
+ $(LOCAL_DIR)/s_ceil.c \
+ $(LOCAL_DIR)/s_trunc.c \
+ $(LOCAL_DIR)/s_atan.c \
+ $(LOCAL_DIR)/e_atan2.c \
+
+include make/module.mk