diff options
| author | chenyong <[email protected]> | 2018-08-02 17:53:02 +0800 |
|---|---|---|
| committer | chenyong <[email protected]> | 2018-08-02 17:53:02 +0800 |
| commit | a8d27156a312c2061b8ff5caeb0c2f81f08e204e (patch) | |
| tree | 4eef3802af50224fad121d1cb232404568548429 /components | |
| parent | ba1aedd1a5d7a2d03ba7a3929d05bc4b72e23a7b (diff) | |
[net][sal] Modify SAL configure judgment.
Diffstat (limited to 'components')
| -rw-r--r-- | components/net/Kconfig | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/components/net/Kconfig b/components/net/Kconfig index f79ac27843..97e97ca4b7 100644 --- a/components/net/Kconfig +++ b/components/net/Kconfig @@ -9,20 +9,22 @@ config RT_USING_SAL if RT_USING_SAL - menu "protocol stack implement" + if RT_USING_LWIP || AT_USING_SOCKET + + menu "protocol stack implement" - config SAL_USING_LWIP - bool "Support lwIP stack" - default y if RT_USING_LWIP - default n - depends on RT_USING_LWIP + config SAL_USING_LWIP + bool "Support lwIP stack" + default y + depends on RT_USING_LWIP - config SAL_USING_AT - bool "Support AT Commands stack" - default y if AT_USING_SOCKET - default n - depends on AT_USING_SOCKET - endmenu + config SAL_USING_AT + bool "Support AT Commands stack" + default y + depends on AT_USING_SOCKET + endmenu + + endif config SAL_USING_POSIX bool "Enable BSD socket operated by file system API" |
