diff options
author | tmk <nobody@nowhere> | 2013-03-11 15:28:14 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2013-03-11 15:28:46 +0900 |
commit | ef8439bddb2d7fe5fd95faf2b6bebd8235acf160 (patch) | |
tree | 4af03a20658cb7e6cd43f9c65dfa002f1b544332 /common.mk | |
parent | d055e0633e36e97802d60554f6002e47021ba5fd (diff) | |
download | qmk_firmware-ef8439bddb2d7fe5fd95faf2b6bebd8235acf160.tar.gz |
Add build option BOOTMAGIC_ENABLE
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -10,12 +10,16 @@ SRC += $(COMMON_DIR)/host.c \ $(COMMON_DIR)/print.c \ $(COMMON_DIR)/debug.c \ $(COMMON_DIR)/bootloader.c \ - $(COMMON_DIR)/bootmagic.c \ - $(COMMON_DIR)/eeconfig.c \ $(COMMON_DIR)/util.c # Option modules +ifdef BOOTMAGIC_ENABLE + SRC += $(COMMON_DIR)/bootmagic.c + SRC += $(COMMON_DIR)/eeconfig.c + OPT_DEFS += -DBOOTMAGIC_ENABLE +endif + ifdef MOUSEKEY_ENABLE SRC += $(COMMON_DIR)/mousekey.c OPT_DEFS += -DMOUSEKEY_ENABLE |