diff options
| author | Brandon Schlack | 2020-11-05 06:55:03 +0100 |
|---|---|---|
| committer | GitHub | 2020-11-05 06:55:03 +0100 |
| commit | f12dcb0659918657d35dc599e69f1aec43a22e97 (patch) | |
| tree | 50e98a01f9103a82574390879f9989ef27b47e98 /users/brandonschlack/rules.mk | |
| parent | 262a60733483a38ed998b6dc6495f748ba6b71b0 (diff) | |
[Keymap] add brandonschlack userspace and keymaps (#10411)
Diffstat (limited to 'users/brandonschlack/rules.mk')
| -rw-r--r-- | users/brandonschlack/rules.mk | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/users/brandonschlack/rules.mk b/users/brandonschlack/rules.mk new file mode 100644 index 0000000000..2dfc332ab9 --- /dev/null +++ b/users/brandonschlack/rules.mk @@ -0,0 +1,34 @@ +SRC += brandonschlack.c \ + process_records.c + +SPACE_CADET_ENABLE = no + +# Use LTO except for ChibiOS +ifneq ($(PLATFORM),CHIBIOS) + LTO_ENABLE = yes +endif + +ifeq ($(strip $(IS_MACROPAD)), yes) + OPT_DEFS += -DIS_MACROPAD +endif + +ifeq ($(strip $(RGBLIGHT_ENABLE)), yes) + SRC += rgb_bs.c +endif + +RGB_MATRIX_ENABLE ?= no +ifneq ($(strip $(RGB_MATRIX_ENABLE)), no) + SRC += rgb_bs.c +endif + +ifeq ($(strip $(TAP_DANCE_ENABLE)), yes) + SRC += tap_dances.c +endif + +ifeq ($(strip $(FLASH_BOOTLOADER)), yes) + OPT_DEFS += -DFLASH_BOOTLOADER +endif + +ifneq ($(FORCE_LAYOUT),) + OPT_DEFS += -DFORCE_LAYOUT=\"$(FORCE_LAYOUT)\" +endif |