4 LINK_TIME_OPTIMIZATION_ENABLE = yes
6 ifneq ("$(wildcard $(USER_PATH)/secrets.c)","")
10 ifeq ($(strip $(TAP_DANCE_ENABLE)), yes)
16 ifeq ($(strip $(NO_SECRETS)), yes)
17 OPT_DEFS += -DNO_SECRETS
20 ifeq ($(strip $(RGBLIGHT_ENABLE)), yes)
22 ifeq ($(strip $(INDICATOR_LIGHTS)), yes)
23 OPT_DEFS += -DINDICATOR_LIGHTS
25 ifeq ($(strip $(RGBLIGHT_TWINKLE)), yes)
26 OPT_DEFS += -DRGBLIGHT_TWINKLE
28 ifeq ($(strip $(RGBLIGHT_NOEEPROM)), yes)
29 OPT_DEFS += -DRGBLIGHT_NOEEPROM
31 ifeq ($(strip $(RGBLIGHT_STARTUP_ANIMATION)), yes)
32 OPT_DEFS += -DRGBLIGHT_STARTUP_ANIMATION
36 RGB_MATRIX_ENABLE ?= no
37 ifneq ($(strip $(RGB_MATRIX_ENABLE)), no)
42 ifeq ($(strip $(MACROS_ENABLED)), yes)
43 OPT_DEFS += -DMACROS_ENABLED
47 ifeq ($(strip $(KEYLOGGER_ENABLE)), yes)
48 OPT_DEFS += -DKEYLOGGER_ENABLE
52 ifeq ($(strip $(MAKE_BOOTLOADER)), yes)
53 OPT_DEFS += -DMAKE_BOOTLOADER