fix: net compile fix

Change-Id: Ieb264f28e831f867d833a66fa25fec57e740a162
Signed-off-by: silen <wuyunjie@huawei.com>
This commit is contained in:
silen 2021-08-09 09:42:09 +08:00
parent 12fed74722
commit 299813cdb4
1 changed files with 45 additions and 44 deletions

7
components/net/lwip-2.1/lwip_porting.gni Normal file → Executable file
View File

@ -36,9 +36,10 @@ LWIP_PORTING_FILES = [
"$LWIP_PORTING_DIR/porting/src/netdb_porting.c",
"$LWIP_PORTING_DIR/porting/src/sockets_porting.c",
"$LWIP_PORTING_DIR/porting/src/sys_arch.c",
if (enable_ohos_kernel_liteos_m_shell== true) {
"$LWIP_PORTING_DIR/porting/src/api_shell.c",
}
"$LWIP_PORTING_DIR/enhancement/src/fixme.c",
"$LWIP_PORTING_DIR/enhancement/src/lwip_ifaddrs.c",
]
if (enable_ohos_kernel_liteos_m_shell == true) {
LWIP_PORTING_FILES += [ "$LWIP_PORTING_DIR/porting/src/api_shell.c" ]
}