!486 lwip_enhanced更改gn编译

Merge pull request !486 from 刘建东/master
This commit is contained in:
openharmony_ci 2021-08-02 11:15:47 +00:00 committed by Gitee
commit c66681a1f9
1 changed files with 12 additions and 8 deletions

View File

@ -30,15 +30,19 @@
import("//kernel/liteos_a/liteos.gni")
group("net") {
deps = [
"lwip-2.1",
"telnet",
]
deps = [ "telnet" ]
if (defined(LOSCFG_NET_LWIP_SACK_2_0)) {
deps += [ "$LITEOSTHIRDPARTY/lwip_enhanced/src" ]
} else if (defined(LOSCFG_NET_LWIP_SACK_2_1)) {
deps += [ "lwip-2.1" ]
}
}
config("public") {
configs = [
"lwip-2.1:public",
"telnet:public",
]
configs = [ "telnet:public" ]
if (defined(LOSCFG_NET_LWIP_SACK_2_0)) {
configs += [ "$LITEOSTHIRDPARTY/lwip_enhanced/src:public" ]
} else if (defined(LOSCFG_NET_LWIP_SACK_2_1)) {
configs += [ "lwip-2.1:public" ]
}
}