[Feature]add MT2731_MP2_MR2_SVN388 baseline version

Change-Id: Ief04314834b31e27effab435d3ca8ba33b499059
diff --git a/src/bsp/lk/lib/lwip/rules.mk b/src/bsp/lk/lib/lwip/rules.mk
new file mode 100644
index 0000000..a6f3f1f
--- /dev/null
+++ b/src/bsp/lk/lib/lwip/rules.mk
@@ -0,0 +1,58 @@
+LOCAL_DIR := $(GET_LOCAL_DIR)
+
+MODULE := $(LOCAL_DIR)
+
+GLOBAL_INCLUDES += \
+	$(LOCAL_DIR)/include/lwip \
+	$(LOCAL_DIR)/include/posix \
+
+MODULE_SRCS += \
+	$(LOCAL_DIR)/sys_arch.c \
+	$(LOCAL_DIR)/cmd.c \
+	$(LOCAL_DIR)/netif.c \
+	$(LOCAL_DIR)/api/api_lib.c \
+	$(LOCAL_DIR)/api/api_msg.c \
+	$(LOCAL_DIR)/api/err.c \
+	$(LOCAL_DIR)/api/netbuf.c \
+	$(LOCAL_DIR)/api/netifapi.c \
+	$(LOCAL_DIR)/api/sockets.c \
+	$(LOCAL_DIR)/api/tcpip.c \
+	$(LOCAL_DIR)/core/def.c \
+	$(LOCAL_DIR)/core/dhcp.c \
+	$(LOCAL_DIR)/core/dns.c \
+	$(LOCAL_DIR)/core/init.c \
+	$(LOCAL_DIR)/core/mem.c \
+	$(LOCAL_DIR)/core/memp.c \
+	$(LOCAL_DIR)/core/netif.c \
+	$(LOCAL_DIR)/core/pbuf.c \
+	$(LOCAL_DIR)/core/raw.c \
+	$(LOCAL_DIR)/core/stats.c \
+	$(LOCAL_DIR)/core/sys.c \
+	$(LOCAL_DIR)/core/tcp.c \
+	$(LOCAL_DIR)/core/tcp_in.c \
+	$(LOCAL_DIR)/core/tcp_out.c \
+	$(LOCAL_DIR)/core/timers.c \
+	$(LOCAL_DIR)/core/udp.c \
+	$(LOCAL_DIR)/netif/etharp.c \
+
+LWIP_IP_TYPE := IPV4
+
+ifeq ($(LWIP_IP_TYPE),IPV4)
+
+GLOBAL_INCLUDES += \
+	$(LOCAL_DIR)/include/ipv4 \
+
+MODULE_SRCS += \
+	$(LOCAL_DIR)/core/ipv4/autoip.c \
+	$(LOCAL_DIR)/core/ipv4/icmp.c \
+	$(LOCAL_DIR)/core/ipv4/igmp.c \
+	$(LOCAL_DIR)/core/ipv4/inet.c \
+	$(LOCAL_DIR)/core/ipv4/inet_chksum.c \
+	$(LOCAL_DIR)/core/ipv4/ip.c \
+	$(LOCAL_DIR)/core/ipv4/ip_addr.c \
+	$(LOCAL_DIR)/core/ipv4/ip_frag.c \
+
+endif
+	
+include make/module.mk
+