mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 01:21:26 +08:00
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:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user