libc/netdb: add dependence to net ip config

avoid to invalid enabled if no net ip config

Signed-off-by: fangxinyong <fangxinyong@xiaomi.com>
This commit is contained in:
fangxinyong 2023-06-28 16:05:08 +08:00 committed by Xiang Xiao
parent fb12e7530d
commit 6c8b0ba9f3
2 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,6 @@ CONFIG_FILE_STREAM=y
CONFIG_INIT_ENTRYPOINT="nimble_main"
CONFIG_INTELHEX_BINARY=y
CONFIG_LIBC_LONG_LONG=y
CONFIG_LIBC_NETDB=y
CONFIG_MM_REGIONS=2
CONFIG_NET=y
CONFIG_NETDEV_LATEINIT=y

View File

@ -5,6 +5,7 @@
config LIBC_NETDB
bool "netdb support"
depends on NET_IPv4 || NET_IPv6
default n
menu "NETDB Support"