aboutsummaryrefslogtreecommitdiffstats
path: root/common.mk
diff options
context:
space:
mode:
authorGravatar tmk <nobody@nowhere>2013-03-19 14:08:40 +0900
committerGravatar tmk <nobody@nowhere>2013-03-19 14:08:40 +0900
commit9a106537f64fe61af6048b41262f002ce6a716d9 (patch)
tree9df736d957945b5d3377b8cb5005946acd99bd61 /common.mk
parent8580c8d291a432d5004c46321aa3c1b1626cdadd (diff)
downloadqmk_firmware-9a106537f64fe61af6048b41262f002ce6a716d9.tar.gz
Add NO_PRINT and NO_DEBUG config options.
- NO_PRINT: disable print.h API(also disable debug.h) - NO_DEBUG: disable debug.h API
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index 4054893b4..2ce4e32da 100644
--- a/common.mk
+++ b/common.mk
@@ -31,6 +31,9 @@ endif
ifdef CONSOLE_ENABLE
OPT_DEFS += -DCONSOLE_ENABLE
+else
+ OPT_DEFS += -DNO_PRINT
+ OPT_DEFS += -DNO_DEBUG
endif
ifdef NKRO_ENABLE