mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES
This commit is contained in:
+1
-1
@@ -78,7 +78,7 @@ endif
|
||||
CSRCS += lib_crc64.c lib_crc32.c lib_crc16.c lib_crc8.c
|
||||
CSRCS += lib_dumpbuffer.c lib_match.c
|
||||
|
||||
ifeq ($(CONFIG_DEBUG),y)
|
||||
ifeq ($(CONFIG_DEBUG_FEATURES),y)
|
||||
CSRCS += lib_dbg.c
|
||||
endif
|
||||
|
||||
|
||||
+2
-2
@@ -59,7 +59,7 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_DEBUG
|
||||
#ifdef CONFIG_DEBUG_FEATURES
|
||||
int dbg(const char *format, ...)
|
||||
{
|
||||
va_list ap;
|
||||
@@ -85,7 +85,7 @@ int lldbg(const char *format, ...)
|
||||
return ret;
|
||||
}
|
||||
#endif /* CONFIG_ARCH_LOWPUTC */
|
||||
#endif /* CONFIG_DEBUG */
|
||||
#endif /* CONFIG_DEBUG_FEATURES */
|
||||
|
||||
#ifdef CONFIG_DEBUG_WARN
|
||||
int warn(const char *format, ...)
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
* debug must also be enabled.
|
||||
*/
|
||||
|
||||
#ifndef CONFIG_DEBUG
|
||||
#ifndef CONFIG_DEBUG_FEATURES
|
||||
# undef CONFIG_DEBUG_INFO
|
||||
# undef CONFIG_DEBUG_LCD
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user