diff options
author | Olivier <olivier@gid0.org> | 2016-04-17 19:54:06 +0200 |
---|---|---|
committer | Olivier <olivier@gid0.org> | 2016-04-17 19:54:06 +0200 |
commit | b03a9f7252781b7fee75a684ba77650dc195dca5 (patch) | |
tree | 43d6a80f4f4cf47c5f571397a0a17ec6e7ef0083 /quantum/quantum.mk | |
parent | 0715cf46ac369921fd39b1b62d8a95fc89d48244 (diff) | |
parent | a67d425f4d5278595e7ab785a0f246b83fb1a09f (diff) |
Merge https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'quantum/quantum.mk')
-rw-r--r-- | quantum/quantum.mk | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/quantum/quantum.mk b/quantum/quantum.mk index de93af7e8c..1fe7390eba 100644 --- a/quantum/quantum.mk +++ b/quantum/quantum.mk @@ -23,19 +23,19 @@ ifndef CUSTOM_MATRIX SRC += $(QUANTUM_DIR)/matrix.c endif -ifdef MIDI_ENABLE +ifeq ($(strip $(MIDI_ENABLE)), yes) SRC += $(QUANTUM_DIR)/keymap_midi.c endif -ifdef AUDIO_ENABLE +ifeq ($(strip $(AUDIO_ENABLE)), yes) SRC += $(QUANTUM_DIR)/audio.c endif -ifdef UNICODE_ENABLE +ifeq ($(strip $(UNICODE_ENABLE)), yes) SRC += $(QUANTUM_DIR)/keymap_unicode.c endif -ifdef RGBLIGHT_ENABLE +ifeq ($(strip $(RGBLIGHT_ENABLE)), yes) SRC += $(QUANTUM_DIR)/light_ws2812.c SRC += $(QUANTUM_DIR)/rgblight.c OPT_DEFS += -DRGBLIGHT_ENABLE @@ -46,6 +46,7 @@ endif # Search Path VPATH += $(TOP_DIR)/$(QUANTUM_DIR) +VPATH += $(TOP_DIR)/$(QUANTUM_DIR)/keymap_extras include $(TMK_DIR)/protocol/lufa.mk |