diff options
author | Jacob Jerrell <jacob.jerrell@gmail.com> | 2020-12-06 00:30:27 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-06 17:30:27 +1100 |
commit | 3076f86dc11d346d07c63e5fb11702817d7034e7 (patch) | |
tree | ebf9b4f3dd89366069f2123a0c984692c3d98e52 /users/bocaj/rules.mk | |
parent | 6b1f96dca8b1218c0e3de6ef23dbde107f8c4588 (diff) |
Bocaj - Third Annual Refactor (Redux) (#10295)
* Reset everything to upstream, reapply Bocaj changes
* Bocaj - address PR comments
* Just in time changes
* Bocaj - Several adjustments after using the layout for a while
Diffstat (limited to 'users/bocaj/rules.mk')
-rw-r--r-- | users/bocaj/rules.mk | 43 |
1 files changed, 18 insertions, 25 deletions
diff --git a/users/bocaj/rules.mk b/users/bocaj/rules.mk index 9ed8c250a3..a0e7e93bc1 100644 --- a/users/bocaj/rules.mk +++ b/users/bocaj/rules.mk @@ -1,33 +1,26 @@ SRC += bocaj.c \ process_records.c -ifneq ("$(wildcard $(USER_PATH)/secrets.c)","") - SRC += secrets.c -endif +LEADER_ENABLE = yes +MOUSEKEY_ENABLE = yes +EXTRAKEY_ENABLE = yes -ifeq ($(strip $(TAP_DANCE_ENABLE)), yes) - SRC += tap_dances.c +ifneq ($(PLATFORM),CHIBIOS) + LTO_ENABLE = yes endif - -# Caused problems when building via docker on Mac OS -# EXTRAFLAGS += -flto - -ifeq ($(strip $(NO_SECRETS)), yes) - OPT_DEFS += -DNO_SECRETS -endif - -ifeq ($(strip $(MACROS_ENABLED)), yes) - OPT_DEFS += -DMACROS_ENABLED -endif - -ifeq ($(strip $(UCIS_ENABLE)), yes) - SRC += send_unicode.c -endif - -ifeq ($(strip $(UNICODEMAP_ENABLE)), yes) - SRC += send_unicode.c +SPACE_CADET_ENABLE = no +GRAVE_ESC_ENABLE = no + +ifneq ($(strip $(NO_SECRETS)), yes) + ifneq ("$(wildcard $(USER_PATH)/secrets.c)","") + SRC += secrets.c + endif + ifeq ($(strip $(NO_SECRETS)), lite) + OPT_DEFS += -DNO_SECRETS + endif endif -ifeq ($(strip $(UNICODE_ENABLE)), yes) - SRC += send_unicode.c +RGB_MATRIX_ENABLE ?= no +ifneq ($(strip $(RGB_MATRIX_ENABLE)), no) + SRC += rgb_matrix_stuff.c endif |