Rename CONFIG_WIRELESS to CONFIG_DRIVERS_WIRELESS

This commit is contained in:
Gregory Nutt 2016-02-26 16:50:26 -06:00
parent 309beae2cd
commit cfe018e991
6 changed files with 14 additions and 8 deletions

View File

@ -124,6 +124,12 @@ else
OTHERDIRS += audio
endif
ifeq ($(CONFIG_DRIVERS_WIRELESS),y)
NONFSDIRS += wireless
else
OTHERDIRS += wireless
endif
# CLEANDIRS are the directories that will clean in. These are
# all directories that we know about.
# KERNDEPDIRS are the directories in which we will build target dependencies.

@ -1 +1 @@
Subproject commit 45657b1172f9cfe6bf72e6313eb98e2cce78ee39
Subproject commit bdb92a1d64163ff9a7eb8fe842cf304a553c0f94

View File

@ -550,15 +550,15 @@ if USBHOST
source drivers/usbhost/Kconfig
endif # USBHOST
menuconfig WIRELESS
menuconfig DRIVERS_WIRELESS
bool "Wireless Device Support"
default n
---help---
Drivers for various wireless devices.
if WIRELESS
if DRIVERS_WIRELESS
source drivers/wireless/Kconfig
endif # WIRELESS
endif # DRIVERS_WIRELESS
comment "System Logging Device Options"

View File

@ -33,7 +33,7 @@
#
############################################################################
ifeq ($(CONFIG_WIRELESS),y)
ifeq ($(CONFIG_DRIVERS_WIRELESS),y)
# Include IEEE 802.15.4 support

View File

@ -56,7 +56,7 @@
#include <nuttx/irq.h>
#include <nuttx/wireless/wireless.h>
#if defined(CONFIG_WIRELESS) && defined(CONFIG_WL_CC3000)
#if defined(CONFIG_DRIVERS_WIRELESS) && defined(CONFIG_WL_CC3000)
/****************************************************************************
* Pre-processor Definitions
@ -188,5 +188,5 @@ int cc3000_register(FAR struct spi_dev_s *spi,
}
#endif
#endif /* CONFIG_WIRELESS && CONFIG_INPUT_CC3000 */
#endif /* CONFIG_DRIVERS_WIRELESS && CONFIG_INPUT_CC3000 */
#endif /* __INCLUDE_NUTTX_WIRELESS_CC3000_INCLUDE_CC3000_UPIFL_H */

View File

@ -47,7 +47,7 @@
#include <nuttx/config.h>
#include <nuttx/fs/ioctl.h>
#ifdef CONFIG_WIRELESS
#ifdef CONFIG_DRIVERS_WIRELESS
/************************************************************************************
* Pre-processor Definitions