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:
parent
fb12e7530d
commit
6c8b0ba9f3
@ -40,7 +40,6 @@ CONFIG_FILE_STREAM=y
|
|||||||
CONFIG_INIT_ENTRYPOINT="nimble_main"
|
CONFIG_INIT_ENTRYPOINT="nimble_main"
|
||||||
CONFIG_INTELHEX_BINARY=y
|
CONFIG_INTELHEX_BINARY=y
|
||||||
CONFIG_LIBC_LONG_LONG=y
|
CONFIG_LIBC_LONG_LONG=y
|
||||||
CONFIG_LIBC_NETDB=y
|
|
||||||
CONFIG_MM_REGIONS=2
|
CONFIG_MM_REGIONS=2
|
||||||
CONFIG_NET=y
|
CONFIG_NET=y
|
||||||
CONFIG_NETDEV_LATEINIT=y
|
CONFIG_NETDEV_LATEINIT=y
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
config LIBC_NETDB
|
config LIBC_NETDB
|
||||||
bool "netdb support"
|
bool "netdb support"
|
||||||
|
depends on NET_IPv4 || NET_IPv6
|
||||||
default n
|
default n
|
||||||
|
|
||||||
menu "NETDB Support"
|
menu "NETDB Support"
|
||||||
|
Loading…
Reference in New Issue
Block a user