summaryrefslogtreecommitdiff
path: root/users/drashna/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'users/drashna/rules.mk')
-rw-r--r--users/drashna/rules.mk18
1 files changed, 17 insertions, 1 deletions
diff --git a/users/drashna/rules.mk b/users/drashna/rules.mk
index b96e8a532b..5644aad2c4 100644
--- a/users/drashna/rules.mk
+++ b/users/drashna/rules.mk
@@ -3,6 +3,8 @@ SRC += $(USER_PATH)/drashna.c \
$(USER_PATH)/keyrecords/process_records.c \
$(USER_PATH)/keyrecords/tapping.c
+# TOP_SYMBOLS = yes
+
ifneq ($(PLATFORM),CHIBIOS)
ifneq ($(strip $(LTO_SUPPORTED)), no)
LTO_ENABLE = yes
@@ -15,6 +17,7 @@ GRAVE_ESC_ENABLE = no
ifneq ($(strip $(NO_SECRETS)), yes)
ifneq ("$(wildcard $(USER_PATH)/../../../qmk_secrets/secrets.c)","")
SRC += $(USER_PATH)/../../../qmk_secrets/secrets.c
+ $(shell touch $(USER_PATH)/../../../qmk_secrets/secrets.c)
SECURE_ENABLE = yes
endif
ifeq ($(strip $(NO_SECRETS)), lite)
@@ -33,6 +36,10 @@ ifeq ($(strip $(PROTOCOL)), VUSB)
NKRO_ENABLE := no
endif
+ifeq ($(strip $(PER_KEY_TAPPING)), yes)
+ OPT_DEFS += -DPER_KEY_TAPPING
+endif
+
CUSTOM_UNICODE_ENABLE ?= yes
ifeq ($(strip $(CUSTOM_UNICODE_ENABLE)), yes)
UNICODE_ENABLE := no
@@ -80,6 +87,11 @@ ifdef CONSOLE_ENABLE
endif
endif
+ifeq ($(strip $(I2C_SCANNER_ENABLE)), yes)
+ OPT_DEFS += -DI2C_SCANNER_ENABLE
+ CONSOLE_ENABLE := yes
+endif
+
CUSTOM_OLED_DRIVER ?= yes
ifeq ($(strip $(OLED_ENABLE)), yes)
ifeq ($(strip $(OLED_DRIVER)), custom)
@@ -103,7 +115,6 @@ ifeq ($(strip $(POINTING_DEVICE_ENABLE)), yes)
ifeq ($(strip $(CUSTOM_POINTING_DEVICE)), yes)
SRC += $(USER_PATH)/pointing/pointing.c
OPT_DEFS += -DCUSTOM_POINTING_DEVICE
- OPT_DEFS += -DMOUSE_EXT_REPORT
endif
endif
@@ -119,5 +130,10 @@ endif
AUTOCORRECTION_ENABLE ?= no
ifeq ($(strip $(AUTOCORRECTION_ENABLE)), yes)
SRC += $(USER_PATH)/keyrecords/autocorrection/autocorrection.c
+ $(shell touch $(USER_PATH)/keyrecords/autocorrection/autocorrection.c)
OPT_DEFS += -DAUTOCORRECTION_ENABLE
endif
+
+ifeq ($(strip $(BOOTMAGIC_ENABLE)), yes)
+ SRC += bootmagic_better.c
+endif