fs/ and lib/ debug can be selectively enabled

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@406 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2007-11-24 13:59:57 +00:00
parent 9a0b25efcd
commit 18e3cfd272
9 changed files with 69 additions and 36 deletions
+20
View File
@@ -112,6 +112,26 @@
# define nvdbg(x...)
#endif
#ifdef CONFIG_DEBUG_FS
# define fdbg(format, arg...) dbg(format, ##arg)
# define flldbg(format, arg...) lldbg(format, ##arg)
# define fvdbg(format, arg...) vdbg(format, ##arg)
#else
# define fdbg(x...)
# define flldbg(x...)
# define fvdbg(x...)
#endif
#ifdef CONFIG_DEBUG_LIB
# define ldbg(format, arg...) dbg(format, ##arg)
# define llldbg(format, arg...) lldbg(format, ##arg)
# define lvdbg(format, arg...) vdbg(format, ##arg)
#else
# define ldbg(x...)
# define llldbg(x...)
# define lvdbg(x...)
#endif
/************************************************************
* Public Type Declarations
************************************************************/