aboutsummaryrefslogtreecommitdiffstats
path: root/common.mk
diff options
context:
space:
mode:
authorGravatar tmk <nobody@nowhere>2012-07-14 02:47:29 +0900
committerGravatar tmk <nobody@nowhere>2012-07-20 13:08:18 +0900
commite075361b6f6bfe24e8d12d125bdab46345087432 (patch)
tree1d51d5cea14bde40fbad8a3354d518fb335c71b1 /common.mk
parentfb8394da83d1af1e52eac1bdeadf3b5a925b6560 (diff)
downloadqmk_firmware-e075361b6f6bfe24e8d12d125bdab46345087432.tar.gz
Add CONSOLE_ENABLE build option to LUFA.
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk16
1 files changed, 10 insertions, 6 deletions
diff --git a/common.mk b/common.mk
index 9bf34f2b8..580a8cf8f 100644
--- a/common.mk
+++ b/common.mk
@@ -15,20 +15,24 @@ ifdef MOUSEKEY_ENABLE
OPT_DEFS += -DMOUSEKEY_ENABLE
endif
-ifdef PS2_MOUSE_ENABLE
- SRC += $(COMMON_DIR)/ps2.c \
- $(COMMON_DIR)/ps2_mouse.c
- OPT_DEFS += -DPS2_MOUSE_ENABLE
-endif
-
ifdef EXTRAKEY_ENABLE
OPT_DEFS += -DEXTRAKEY_ENABLE
endif
+ifdef CONSOLE_ENABLE
+ OPT_DEFS += -DCONSOLE_ENABLE
+endif
+
ifdef NKRO_ENABLE
OPT_DEFS += -DNKRO_ENABLE
endif
+ifdef PS2_MOUSE_ENABLE
+ SRC += $(COMMON_DIR)/ps2.c \
+ $(COMMON_DIR)/ps2_mouse.c
+ OPT_DEFS += -DPS2_MOUSE_ENABLE
+endif
+
ifdef $(or MOUSEKEY_ENABLE, PS2_MOUSE_ENABLE)
OPT_DEFS += -DMOUSE_ENABLE
endif