Add logic to enable DEBUG_NET if NET=n but WL_CC3000=y

This commit is contained in:
Gregory Nutt 2013-10-23 11:48:57 -06:00
parent 69e49938f0
commit 76764003a5
5 changed files with 17 additions and 6 deletions

View file

@ -5850,4 +5850,8 @@
(2013-10-23).
* include/nuttx/wireless/cc3000: More CC3000 driver updates from David
Sidrane (2013-10-23).
* net/Kconfig, drivers/net/wireless/cc3000/Kconfig, and Kconfig: Add
ARCH_HAVE_NET that determines if a network is present or not. This
currently can happen if CONFIG_NET is set or if CONFIG_WL_CC3000 is
is set (23013-10-23).

View file

@ -352,7 +352,7 @@ config DEBUG_PAGING
config DEBUG_NET
bool "Network Debug Output"
default n
depends on NET
depends on ARCH_HAVE_NET
---help---
Enable network debug SYSLOG output (disabled by default)

View file

@ -7,6 +7,7 @@ config WL_CC3000
bool "CC3000 Wireless Module"
default n
select SPI
select ARCH_HAVE_NET
---help---
Enable support for the TI CC3000 Wifi Module

View file

@ -3,14 +3,20 @@
# see misc/tools/kconfig-language.txt.
#
config NET
bool "Networking support"
config ARCH_HAVE_NET
bool
default n
---help---
Enable or disable all network features
config ARCH_HAVE_PHY
bool
default n
config NET
bool "Networking support"
default n
select ARCH_HAVE_NET
---help---
Enable or disable all network features
if NET