chore: enable gn build for lwip_enhanced
enable gn build for lwip_enhanced close: #I43GEW Signed-off-by: liujiandong <liujiandong1@huawei.com>
This commit is contained in:
parent
ce66a234fc
commit
8696e1c6cb
20
net/BUILD.gn
20
net/BUILD.gn
|
@ -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" ]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue