diff options
author | tmk <nobody@nowhere> | 2013-03-19 16:05:53 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2013-03-19 16:05:53 +0900 |
commit | 16870412679225d1a3b46c78928757deb713ae08 (patch) | |
tree | fe75031c2d2d8f316d11bdcec6901c437f19e48c /common.mk | |
parent | 9a106537f64fe61af6048b41262f002ce6a716d9 (diff) | |
download | qmk_firmware-16870412679225d1a3b46c78928757deb713ae08.tar.gz |
Add COMMAND_ENABLE build option
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -5,7 +5,6 @@ SRC += $(COMMON_DIR)/host.c \ $(COMMON_DIR)/action_macro.c \ $(COMMON_DIR)/layer_switch.c \ $(COMMON_DIR)/keymap.c \ - $(COMMON_DIR)/command.c \ $(COMMON_DIR)/timer.c \ $(COMMON_DIR)/print.c \ $(COMMON_DIR)/debug.c \ @@ -36,6 +35,11 @@ else OPT_DEFS += -DNO_DEBUG endif +ifdef COMMAND_ENABLE + SRC += $(COMMON_DIR)/command.c + OPT_DEFS += -DCOMMAND_ENABLE +endif + ifdef NKRO_ENABLE OPT_DEFS += -DNKRO_ENABLE endif |