Răsfoiți Sursa

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

Joel Challis 3 ani în urmă
părinte
comite
e04f6c5d38

+ 1 - 1
keyboards/contra/keymaps/maxr1998/rules.mk

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

+ 1 - 1
keyboards/crkbd/keymaps/snowe/rules.mk

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

+ 1 - 1
keyboards/dztech/dz60rgb/keymaps/matthewrobo/rules.mk

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

+ 1 - 1
keyboards/dztech/dz65rgb/keymaps/drootz/rules.mk

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

+ 1 - 1
keyboards/handwired/dactyl_manuform/5x6/keymaps/333fred/rules.mk

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

+ 1 - 2
keyboards/keebio/iris/keymaps/333fred/rules.mk

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

+ 0 - 1
keyboards/lily58/keymaps/druotoni/rules.mk

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

+ 1 - 1
keyboards/rgbkb/zen/rev1/keymaps/333fred/rules.mk

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

+ 1 - 1
keyboards/rgbkb/zygomorph/keymaps/kageurufu/rules.mk

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

+ 1 - 1
keyboards/woodkeys/meira/keymaps/cole/rules.mk

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

+ 1 - 1
keyboards/woodkeys/meira/keymaps/grahampheath/rules.mk

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

+ 1 - 1
keyboards/yoichiro/lunakey_mini/keymaps/via/rules.mk

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