Remove manual enable of LTO within user keymaps (#15378)

master
Joel Challis 2022-02-10 17:52:39 +00:00 committed by GitHub
parent f7e7671f69
commit e04f6c5d38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 11 additions and 13 deletions

View File

@ -1,7 +1,7 @@
RGBLIGHT_ENABLE = yes RGBLIGHT_ENABLE = yes
KEY_LOCK_ENABLE = yes KEY_LOCK_ENABLE = yes
EXTRAFLAGS += -flto LTO_ENABLE = yes
UNICODE_ENABLE = no UNICODE_ENABLE = no
MOUSEKEY_ENABLE = no MOUSEKEY_ENABLE = no

View File

@ -21,6 +21,6 @@ OCEAN_DREAM_ENABLE = yes
LUNA_ENABLE = no # disabled so travis build succeeds LUNA_ENABLE = no # disabled so travis build succeeds
# if firmware size over limit, try this option # if firmware size over limit, try this option
CFLAGS += -flto LTO_ENABLE = yes
WPM_ENABLE = yes WPM_ENABLE = yes

View File

@ -2,6 +2,6 @@ NKRO_ENABLE = yes # USB Nkey Rollover
AUTO_SHIFT_ENABLE = yes # Auto Shift AUTO_SHIFT_ENABLE = yes # Auto Shift
# VELOCIKEY_ENABLE = yes # VELOCIKEY_ENABLE = yes
EXTRAFLAGS += -flto LTO_ENABLE = yes
# SRC += dz60rgb.c # SRC += dz60rgb.c

View File

@ -2,7 +2,7 @@ DYNAMIC_MACRO_ENABLE = yes
LEADER_ENABLE = yes LEADER_ENABLE = yes
# Firmware size Optimizations # Firmware size Optimizations
EXTRAFLAGS += -flto LTO_ENABLE = yes
MOUSEKEY_ENABLE = no MOUSEKEY_ENABLE = no
NKRO_ENABLE = no NKRO_ENABLE = no
SPACE_CADET_ENABLE = no SPACE_CADET_ENABLE = no

View File

@ -1,3 +1,3 @@
KEY_LOCK_ENABLE = yes KEY_LOCK_ENABLE = yes
CONSOLE_ENABLE = no CONSOLE_ENABLE = no
EXTRAFLAGS += -flto LTO_ENABLE = yes

View File

@ -1,4 +1,3 @@
KEY_LOCK_ENABLE = yes KEY_LOCK_ENABLE = yes
CONSOLE_ENABLE = no CONSOLE_ENABLE = no
EXTRAFLAGS += -flto LTO_ENABLE = yes

View File

@ -9,7 +9,6 @@ BOOTLOADER = atmel-dfu
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
# EXTRAFLAGS += -flto
LTO_ENABLE = yes LTO_ENABLE = yes
SPACE_CADET_ENABLE = no SPACE_CADET_ENABLE = no
GRAVE_ESC_ENABLE = no GRAVE_ESC_ENABLE = no

View File

@ -1,4 +1,4 @@
RGBLIGHT_ENABLE = yes RGBLIGHT_ENABLE = yes
KEY_LOCK_ENABLE = yes KEY_LOCK_ENABLE = yes
CONSOLE_ENABLE = no CONSOLE_ENABLE = no
EXTRAFLAGS += -flto LTO_ENABLE = yes

View File

@ -41,4 +41,4 @@ ifeq ($(strip $(RGBLIGHT_SPLIT_ENABLE)), yes)
endif endif
# Link time optimization, should save on firmware size # Link time optimization, should save on firmware size
EXTRAFLAGS += -flto LTO_ENABLE = yes

View File

@ -1,2 +1,2 @@
AUDIO_ENABLE = yes # Audio output on port C6 AUDIO_ENABLE = yes # Audio output on port C6
EXTRAFLAGS+=-flto # -4-7k LTO_ENABLE = yes # -4-7k

View File

@ -1,5 +1,5 @@
AUDIO_ENABLE = yes # Audio output on port C6 AUDIO_ENABLE = yes # Audio output on port C6
EXTRAFLAGS+=-flto # -4-7k LTO_ENABLE = yes # -4-7k
MOUSEKEY_ENABLE = no # Mouse keys(-47kb) MOUSEKEY_ENABLE = no # Mouse keys(-47kb)
ISSI_ENABLE = no ISSI_ENABLE = no
BACKLIGHT_ENABLE = no BACKLIGHT_ENABLE = no

View File

@ -2,4 +2,4 @@ RGBLIGHT_ENABLE = yes # Enable keyboard RGB Underglow
AUDIO_ENABLE = no # Enable Audio output AUDIO_ENABLE = no # Enable Audio output
OLED_ENABLE = no # Enable OLED Display OLED_ENABLE = no # Enable OLED Display
VIA_ENABLE = yes # Enable VIA support VIA_ENABLE = yes # Enable VIA support
LTO_ENABLE = yes # CFLAGS=flto LTO_ENABLE = yes # Reduce firmware size