summaryrefslogtreecommitdiff
path: root/nuttx/tools/mkconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/tools/mkconfig.c')
-rw-r--r--nuttx/tools/mkconfig.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/nuttx/tools/mkconfig.c b/nuttx/tools/mkconfig.c
index b4afe7bf7..3a9eda8a4 100644
--- a/nuttx/tools/mkconfig.c
+++ b/nuttx/tools/mkconfig.c
@@ -319,9 +319,18 @@ int main(int argc, char **argv, char **envp)
printf("# undef CONFIG_NET_UDP\n");
printf("# undef CONFIG_NET_ICMP\n");
printf("#endif\n\n");
- printf("/* Verbose debug only makes sense if debug is enabled */\n\n");
+ printf("/* Verbose debug and sub-system debug only make sense if debug is enabled */\n\n");
printf("#ifndef CONFIG_DEBUG\n");
printf("# undef CONFIG_DEBUG_VERBOSE\n");
+ printf("# undef CONFIG_DEBUG_SCHED\n");
+ printf("# undef CONFIG_DEBUG_MM\n");
+ printf("# undef CONFIG_DEBUG_DMA\n");
+ printf("# undef CONFIG_DEBUG_FS\n");
+ printf("# undef CONFIG_DEBUG_LIB\n");
+ printf("# undef CONFIG_DEBUG_BINFMT\n");
+ printf("# undef CONFIG_DEBUG_NET\n");
+ printf("# undef CONFIG_DEBUG_USB\n");
+ printf("# undef CONFIG_DEBUG_GRAPHICS\n");
printf("#endif\n\n");
printf("#endif /* __ARCH_CONFIG_H */\n");
fclose(stream);