diff options
author | tmk <nobody@nowhere> | 2012-07-14 02:47:29 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2012-07-20 13:08:18 +0900 |
commit | e075361b6f6bfe24e8d12d125bdab46345087432 (patch) | |
tree | 1d51d5cea14bde40fbad8a3354d518fb335c71b1 /common.mk | |
parent | fb8394da83d1af1e52eac1bdeadf3b5a925b6560 (diff) | |
download | qmk_firmware-e075361b6f6bfe24e8d12d125bdab46345087432.tar.gz |
Add CONSOLE_ENABLE build option to LUFA.
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -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 |