!253 fix: L0 net 编译修复

Merge pull request !253 from give-me-five/master
This commit is contained in:
openharmony_ci 2021-08-09 03:46:44 +00:00 committed by Gitee
commit 7fe9cc9aa0
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/netdb_porting.c",
"$LWIP_PORTING_DIR/porting/src/sockets_porting.c", "$LWIP_PORTING_DIR/porting/src/sockets_porting.c",
"$LWIP_PORTING_DIR/porting/src/sys_arch.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/fixme.c",
"$LWIP_PORTING_DIR/enhancement/src/lwip_ifaddrs.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" ]
}