diff options
| author | Drashna Jaelre <drashna@live.com> | 2020-08-22 01:21:06 -0700 |
|---|---|---|
| committer | James Young <18669334+noroadsleft@users.noreply.github.com> | 2020-08-29 14:30:02 -0700 |
| commit | 92385b3fb617326b129609726020453c8949c7f8 (patch) | |
| tree | 29d881897a59f0b1568bbaf21534c81360ad21e6 /keyboards | |
| parent | 3f392c09b60d46d9e4a4d3cc150a26294dea4da7 (diff) | |
| download | qmk_firmware-92385b3fb617326b129609726020453c8949c7f8.tar.gz qmk_firmware-92385b3fb617326b129609726020453c8949c7f8.zip | |
Better handle LTO_ENABLE (#9832)
* Better handle LTO_ENABLE
Especially when calling from command line
* Replace LINK_TIME_OPTIMIZATION_ENABLE with LTO_ENABLE
* Remove long for LTO from show_options.mk
Diffstat (limited to 'keyboards')
66 files changed, 69 insertions, 74 deletions
diff --git a/keyboards/1upkeyboards/sweet16/v1/rules.mk b/keyboards/1upkeyboards/sweet16/v1/rules.mk index 09bd9e9e2..4c4280cdd 100644 --- a/keyboards/1upkeyboards/sweet16/v1/rules.mk +++ b/keyboards/1upkeyboards/sweet16/v1/rules.mk | |||
| @@ -14,4 +14,4 @@ BOOTLOADER = caterina | |||
| 14 | RGBLIGHT_ENABLE = yes | 14 | RGBLIGHT_ENABLE = yes |
| 15 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | 15 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality |
| 16 | 16 | ||
| 17 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 17 | LTO_ENABLE = yes |
diff --git a/keyboards/1upkeyboards/sweet16/v2/promicro/rules.mk b/keyboards/1upkeyboards/sweet16/v2/promicro/rules.mk index 9f38504a8..16510f767 100644 --- a/keyboards/1upkeyboards/sweet16/v2/promicro/rules.mk +++ b/keyboards/1upkeyboards/sweet16/v2/promicro/rules.mk | |||
| @@ -18,4 +18,4 @@ CONSOLE_ENABLE = yes | |||
| 18 | RGBLIGHT_ENABLE = no | 18 | RGBLIGHT_ENABLE = no |
| 19 | ENCODER_ENABLE = yes | 19 | ENCODER_ENABLE = yes |
| 20 | 20 | ||
| 21 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 21 | LTO_ENABLE = yes |
diff --git a/keyboards/bm60rgb/rules.mk b/keyboards/bm60rgb/rules.mk index 72bfd539d..d888399cf 100644 --- a/keyboards/bm60rgb/rules.mk +++ b/keyboards/bm60rgb/rules.mk | |||
| @@ -31,7 +31,7 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | |||
| 31 | AUDIO_ENABLE = no # Audio output on port C6 | 31 | AUDIO_ENABLE = no # Audio output on port C6 |
| 32 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | 32 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches |
| 33 | RGB_MATRIX_ENABLE = WS2812 | 33 | RGB_MATRIX_ENABLE = WS2812 |
| 34 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 34 | LTO_ENABLE = yes |
| 35 | 35 | ||
| 36 | # partially generated by KBFirmware JSON to QMK Parser | 36 | # partially generated by KBFirmware JSON to QMK Parser |
| 37 | # https://noroadsleft.github.io/kbf_qmk_converter/ | 37 | # https://noroadsleft.github.io/kbf_qmk_converter/ |
diff --git a/keyboards/clueboard/66/keymaps/via/rules.mk b/keyboards/clueboard/66/keymaps/via/rules.mk index e85bff468..7a4971950 100644 --- a/keyboards/clueboard/66/keymaps/via/rules.mk +++ b/keyboards/clueboard/66/keymaps/via/rules.mk | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # rules.mk overrides to enable VIA | 1 | # rules.mk overrides to enable VIA |
| 2 | 2 | ||
| 3 | VIA_ENABLE = yes | 3 | VIA_ENABLE = yes |
| 4 | LINK_TIME_OPTIMIZATION_ENABLE = yes \ No newline at end of file | 4 | LTO_ENABLE = yes |
diff --git a/keyboards/clueboard/card/rules.mk b/keyboards/clueboard/card/rules.mk index 37d1d866e..a1b003f29 100644 --- a/keyboards/clueboard/card/rules.mk +++ b/keyboards/clueboard/card/rules.mk | |||
| @@ -26,4 +26,4 @@ UNICODE_ENABLE = no # Unicode | |||
| 26 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 26 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID |
| 27 | AUDIO_ENABLE = yes # Audio output on port C6 | 27 | AUDIO_ENABLE = yes # Audio output on port C6 |
| 28 | 28 | ||
| 29 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 29 | LTO_ENABLE = yes |
diff --git a/keyboards/converter/usb_usb/keymaps/chriskopher/rules.mk b/keyboards/converter/usb_usb/keymaps/chriskopher/rules.mk index d80022853..643e1d013 100644 --- a/keyboards/converter/usb_usb/keymaps/chriskopher/rules.mk +++ b/keyboards/converter/usb_usb/keymaps/chriskopher/rules.mk | |||
| @@ -19,6 +19,6 @@ EXTRAKEY_ENABLE = yes # Used for audio control and system control keys | |||
| 19 | COMBO_ENABLE = yes # Used to allow chording of keys to trigger an action | 19 | COMBO_ENABLE = yes # Used to allow chording of keys to trigger an action |
| 20 | TAP_DANCE_ENABLE = yes # Used to allow multiple taps of a key to perform different actions | 20 | TAP_DANCE_ENABLE = yes # Used to allow multiple taps of a key to perform different actions |
| 21 | 21 | ||
| 22 | LINK_TIME_OPTIMIZATION_ENABLE = yes # Reduces the compiled firmware size | 22 | LTO_ENABLE = yes # Reduces the compiled firmware size |
| 23 | 23 | ||
| 24 | SRC += combo.c tap_dance.c | 24 | SRC += combo.c tap_dance.c |
diff --git a/keyboards/crkbd/keymaps/ninjonas/rules.mk b/keyboards/crkbd/keymaps/ninjonas/rules.mk index 95cc3fed3..0c7fb3afc 100644 --- a/keyboards/crkbd/keymaps/ninjonas/rules.mk +++ b/keyboards/crkbd/keymaps/ninjonas/rules.mk | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | RGB_MATRIX_ENABLE = WS2812 | 1 | RGB_MATRIX_ENABLE = WS2812 |
| 2 | MOUSEKEY_ENABLE = no | 2 | MOUSEKEY_ENABLE = no |
| 3 | OLED_DRIVER_ENABLE = yes | 3 | OLED_DRIVER_ENABLE = yes |
| 4 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 4 | LTO_ENABLE = yes |
| 5 | 5 | ||
| 6 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | 6 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE |
| 7 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 7 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
diff --git a/keyboards/crkbd/keymaps/rpbaptist/rules.mk b/keyboards/crkbd/keymaps/rpbaptist/rules.mk index d9e8b701e..dedd5753e 100644 --- a/keyboards/crkbd/keymaps/rpbaptist/rules.mk +++ b/keyboards/crkbd/keymaps/rpbaptist/rules.mk | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | #This enables Link Time Optimization.This can save a good chunk of space(several KB for me), but the macro and function... functions cause it to error out. | 1 | #This enables Link Time Optimization.This can save a good chunk of space(several KB for me), but the macro and function... functions cause it to error out. |
| 2 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 2 | LTO_ENABLE = yes |
| 3 | 3 | ||
| 4 | #Build Options | 4 | #Build Options |
| 5 | #change to "no" to disable the options, or define them in the Makefile in | 5 | #change to "no" to disable the options, or define them in the Makefile in |
diff --git a/keyboards/dz60/keymaps/via/rules.mk b/keyboards/dz60/keymaps/via/rules.mk index ea9a831e1..ca9fed0e6 100644 --- a/keyboards/dz60/keymaps/via/rules.mk +++ b/keyboards/dz60/keymaps/via/rules.mk | |||
| @@ -1,2 +1,2 @@ | |||
| 1 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 1 | LTO_ENABLE = yes |
| 2 | VIA_ENABLE = yes | 2 | VIA_ENABLE = yes |
diff --git a/keyboards/dztech/dz60rgb/keymaps/xunz/rules.mk b/keyboards/dztech/dz60rgb/keymaps/xunz/rules.mk index 7a77be493..d12c8dc44 100644 --- a/keyboards/dztech/dz60rgb/keymaps/xunz/rules.mk +++ b/keyboards/dztech/dz60rgb/keymaps/xunz/rules.mk | |||
| @@ -1,5 +1,4 @@ | |||
| 1 | NKRO_ENABLE = yes # USB Nkey Rollover | 1 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 2 | # VELOCIKEY_ENABLE = yes | 2 | # VELOCIKEY_ENABLE = yes |
| 3 | 3 | ||
| 4 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 4 | LTO_ENABLE = yes |
| 5 | |||
diff --git a/keyboards/dztech/dz65rgb/keymaps/chocol8/rules.mk b/keyboards/dztech/dz65rgb/keymaps/chocol8/rules.mk index 626329f81..1778a5e14 100644 --- a/keyboards/dztech/dz65rgb/keymaps/chocol8/rules.mk +++ b/keyboards/dztech/dz65rgb/keymaps/chocol8/rules.mk | |||
| @@ -2,5 +2,4 @@ NKRO_ENABLE = yes # USB Nkey Rollover | |||
| 2 | VELOCIKEY_ENABLE = yes | 2 | VELOCIKEY_ENABLE = yes |
| 3 | # AUTO_SHIFT_ENABLE = yes # Auto Shift | 3 | # AUTO_SHIFT_ENABLE = yes # Auto Shift |
| 4 | 4 | ||
| 5 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 5 | LTO_ENABLE = yes |
| 6 | |||
diff --git a/keyboards/dztech/dz65rgb/keymaps/matthewrobo/rules.mk b/keyboards/dztech/dz65rgb/keymaps/matthewrobo/rules.mk index 9a75bb29d..29afe8cd0 100644 --- a/keyboards/dztech/dz65rgb/keymaps/matthewrobo/rules.mk +++ b/keyboards/dztech/dz65rgb/keymaps/matthewrobo/rules.mk | |||
| @@ -2,5 +2,4 @@ NKRO_ENABLE = yes # USB Nkey Rollover | |||
| 2 | AUTO_SHIFT_ENABLE = yes # Auto Shift | 2 | AUTO_SHIFT_ENABLE = yes # Auto Shift |
| 3 | # VELOCIKEY_ENABLE = yes | 3 | # VELOCIKEY_ENABLE = yes |
| 4 | 4 | ||
| 5 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 5 | LTO_ENABLE = yes |
| 6 | |||
diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/rules.mk b/keyboards/ergodox_ez/keymaps/hacker_dvorak/rules.mk index aa13f98bd..2eda18ce4 100644 --- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/rules.mk +++ b/keyboards/ergodox_ez/keymaps/hacker_dvorak/rules.mk | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # Set any rules.mk overrides for your specific keymap here. | 1 | # Set any rules.mk overrides for your specific keymap here. |
| 2 | # See rules at https://docs.qmk.fm/#/config_options?id=the-rulesmk-file | 2 | # See rules at https://docs.qmk.fm/#/config_options?id=the-rulesmk-file |
| 3 | 3 | ||
| 4 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 4 | LTO_ENABLE = yes |
| 5 | NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | 5 | NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work |
| 6 | TAP_DANCE_ENABLE = yes | 6 | TAP_DANCE_ENABLE = yes |
| 7 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700b). | 7 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700b). |
diff --git a/keyboards/ergodox_ez/keymaps/nathanvercaemert/rules.mk b/keyboards/ergodox_ez/keymaps/nathanvercaemert/rules.mk index b41c275dd..31c3fe3c7 100644 --- a/keyboards/ergodox_ez/keymaps/nathanvercaemert/rules.mk +++ b/keyboards/ergodox_ez/keymaps/nathanvercaemert/rules.mk | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | # Set any rules.mk overrides for your specific keymap here. | 1 | # Set any rules.mk overrides for your specific keymap here. |
| 2 | # See rules at https://docs.qmk.fm/#/config_options?id=the-rulesmk-file | 2 | # See rules at https://docs.qmk.fm/#/config_options?id=the-rulesmk-file |
| 3 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 3 | LTO_ENABLE = yes |
| 4 | COMMAND_ENABLE = no | 4 | COMMAND_ENABLE = no |
| 5 | RGBLIGHT_ENABLE = no | 5 | RGBLIGHT_ENABLE = no |
| 6 | TAP_DANCE_ENABLE=yes | 6 | TAP_DANCE_ENABLE=yes |
diff --git a/keyboards/flx/virgo/rules.mk b/keyboards/flx/virgo/rules.mk index 529d365b5..cbf45a2b9 100644 --- a/keyboards/flx/virgo/rules.mk +++ b/keyboards/flx/virgo/rules.mk | |||
| @@ -30,5 +30,4 @@ UNICODE_ENABLE = no # Unicode | |||
| 30 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 30 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID |
| 31 | AUDIO_ENABLE = no # Audio output on port C6 | 31 | AUDIO_ENABLE = no # Audio output on port C6 |
| 32 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | 32 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches |
| 33 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 33 | LTO_ENABLE = yes |
| 34 | |||
diff --git a/keyboards/gray_studio/think65/hotswap/rules.mk b/keyboards/gray_studio/think65/hotswap/rules.mk index 2d789ff59..5f85ff18a 100644 --- a/keyboards/gray_studio/think65/hotswap/rules.mk +++ b/keyboards/gray_studio/think65/hotswap/rules.mk | |||
| @@ -32,7 +32,7 @@ AUDIO_ENABLE = no # Audio output on port C6 | |||
| 32 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | 32 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches |
| 33 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs | 33 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs |
| 34 | 34 | ||
| 35 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 35 | LTO_ENABLE = yes |
| 36 | 36 | ||
| 37 | LAYOUTS = 65_ansi_blocker | 37 | LAYOUTS = 65_ansi_blocker |
| 38 | 38 | ||
diff --git a/keyboards/gray_studio/think65/solder/rules.mk b/keyboards/gray_studio/think65/solder/rules.mk index 2d789ff59..5f85ff18a 100644 --- a/keyboards/gray_studio/think65/solder/rules.mk +++ b/keyboards/gray_studio/think65/solder/rules.mk | |||
| @@ -32,7 +32,7 @@ AUDIO_ENABLE = no # Audio output on port C6 | |||
| 32 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | 32 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches |
| 33 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs | 33 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs |
| 34 | 34 | ||
| 35 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 35 | LTO_ENABLE = yes |
| 36 | 36 | ||
| 37 | LAYOUTS = 65_ansi_blocker | 37 | LAYOUTS = 65_ansi_blocker |
| 38 | 38 | ||
diff --git a/keyboards/handwired/promethium/rules.mk b/keyboards/handwired/promethium/rules.mk index 19d20ee03..4b96e2f69 100644 --- a/keyboards/handwired/promethium/rules.mk +++ b/keyboards/handwired/promethium/rules.mk | |||
| @@ -45,4 +45,4 @@ SRC += rgbsps.c | |||
| 45 | SRC += analog.c | 45 | SRC += analog.c |
| 46 | SRC += matrix.c | 46 | SRC += matrix.c |
| 47 | 47 | ||
| 48 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 48 | LTO_ENABLE = yes |
diff --git a/keyboards/helix/pico/keymaps/biacco/rules.mk b/keyboards/helix/pico/keymaps/biacco/rules.mk index 0c60c40f6..37e49977c 100644 --- a/keyboards/helix/pico/keymaps/biacco/rules.mk +++ b/keyboards/helix/pico/keymaps/biacco/rules.mk | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | # | 7 | # |
| 8 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | 8 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) |
| 9 | AUDIO_ENABLE = yes # Audio output on port B5 | 9 | AUDIO_ENABLE = yes # Audio output on port B5 |
| 10 | LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option | 10 | LTO_ENABLE = no # if firmware size over limit, try this option |
| 11 | 11 | ||
| 12 | # Helix Spacific Build Options | 12 | # Helix Spacific Build Options |
| 13 | # you can uncomment and edit follows 6 Variables | 13 | # you can uncomment and edit follows 6 Variables |
diff --git a/keyboards/helix/pico/keymaps/default/rules.mk b/keyboards/helix/pico/keymaps/default/rules.mk index c08445732..8f198e380 100644 --- a/keyboards/helix/pico/keymaps/default/rules.mk +++ b/keyboards/helix/pico/keymaps/default/rules.mk | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | # | 7 | # |
| 8 | EXTRAKEY_ENABLE = yes # Audio control and System control | 8 | EXTRAKEY_ENABLE = yes # Audio control and System control |
| 9 | AUDIO_ENABLE = yes # Audio output on port B5 | 9 | AUDIO_ENABLE = yes # Audio output on port B5 |
| 10 | LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option | 10 | LTO_ENABLE = no # if firmware size over limit, try this option |
| 11 | 11 | ||
| 12 | # Helix Spacific Build Options | 12 | # Helix Spacific Build Options |
| 13 | # you can uncomment and edit follows 6 Variables | 13 | # you can uncomment and edit follows 6 Variables |
diff --git a/keyboards/helix/pico/keymaps/mtei/rules.mk b/keyboards/helix/pico/keymaps/mtei/rules.mk index 764b07300..165233f5f 100644 --- a/keyboards/helix/pico/keymaps/mtei/rules.mk +++ b/keyboards/helix/pico/keymaps/mtei/rules.mk | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | # | 7 | # |
| 8 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | 8 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) |
| 9 | AUDIO_ENABLE = yes # Audio output on port B5 | 9 | AUDIO_ENABLE = yes # Audio output on port B5 |
| 10 | LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option | 10 | LTO_ENABLE = no # if firmware size over limit, try this option |
| 11 | 11 | ||
| 12 | # Helix Spacific Build Options | 12 | # Helix Spacific Build Options |
| 13 | # you can uncomment and edit follows 6 Variables | 13 | # you can uncomment and edit follows 6 Variables |
diff --git a/keyboards/helix/pico/local_features.mk b/keyboards/helix/pico/local_features.mk index 0277a3d22..a98444686 100644 --- a/keyboards/helix/pico/local_features.mk +++ b/keyboards/helix/pico/local_features.mk | |||
| @@ -106,10 +106,10 @@ endif | |||
| 106 | 106 | ||
| 107 | ifeq ($(strip $(AUDIO_ENABLE)),yes) | 107 | ifeq ($(strip $(AUDIO_ENABLE)),yes) |
| 108 | ifeq ($(strip $(RGBLIGHT_ENABLE)),yes) | 108 | ifeq ($(strip $(RGBLIGHT_ENABLE)),yes) |
| 109 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 109 | LTO_ENABLE = yes |
| 110 | endif | 110 | endif |
| 111 | ifeq ($(strip $(OLED_ENABLE)),yes) | 111 | ifeq ($(strip $(OLED_ENABLE)),yes) |
| 112 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 112 | LTO_ENABLE = yes |
| 113 | endif | 113 | endif |
| 114 | endif | 114 | endif |
| 115 | 115 | ||
| @@ -120,7 +120,7 @@ ifneq ($(strip $(SHOW_HELIX_OPTIONS)),) | |||
| 120 | $(info -- OLED_DRIVER_ENABLE = $(OLED_DRIVER_ENABLE)) | 120 | $(info -- OLED_DRIVER_ENABLE = $(OLED_DRIVER_ENABLE)) |
| 121 | $(info -- CONSOLE_ENABLE = $(CONSOLE_ENABLE)) | 121 | $(info -- CONSOLE_ENABLE = $(CONSOLE_ENABLE)) |
| 122 | $(info -- OPT_DEFS = $(OPT_DEFS)) | 122 | $(info -- OPT_DEFS = $(OPT_DEFS)) |
| 123 | $(info -- LINK_TIME_OPTIMIZATION_ENABLE = $(LINK_TIME_OPTIMIZATION_ENABLE)) | 123 | $(info -- LTO_ENABLE = $(LTO_ENABLE)) |
| 124 | $(info ) | 124 | $(info ) |
| 125 | endif | 125 | endif |
| 126 | endif | 126 | endif |
diff --git a/keyboards/helix/rev2/keymaps/default/rules.mk b/keyboards/helix/rev2/keymaps/default/rules.mk index 6a42fcf73..9801648de 100644 --- a/keyboards/helix/rev2/keymaps/default/rules.mk +++ b/keyboards/helix/rev2/keymaps/default/rules.mk | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | # See TOP/keyboards/helix/rules.mk for a list of options that can be set. | 5 | # See TOP/keyboards/helix/rules.mk for a list of options that can be set. |
| 6 | # See TOP/docs/config_options.md for more information. | 6 | # See TOP/docs/config_options.md for more information. |
| 7 | # | 7 | # |
| 8 | LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option | 8 | LTO_ENABLE = no # if firmware size over limit, try this option |
| 9 | 9 | ||
| 10 | # Helix Spacific Build Options | 10 | # Helix Spacific Build Options |
| 11 | # you can uncomment and edit follows 7 Variables | 11 | # you can uncomment and edit follows 7 Variables |
diff --git a/keyboards/helix/rev2/keymaps/edvorakjp/rules.mk b/keyboards/helix/rev2/keymaps/edvorakjp/rules.mk index e30690029..18bef6bf7 100644 --- a/keyboards/helix/rev2/keymaps/edvorakjp/rules.mk +++ b/keyboards/helix/rev2/keymaps/edvorakjp/rules.mk | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | # See TOP/keyboards/helix/rules.mk for a list of options that can be set. | 5 | # See TOP/keyboards/helix/rules.mk for a list of options that can be set. |
| 6 | # See TOP/docs/config_options.md for more information. | 6 | # See TOP/docs/config_options.md for more information. |
| 7 | # | 7 | # |
| 8 | LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option | 8 | LTO_ENABLE = no # if firmware size over limit, try this option |
| 9 | TAP_DANCE_ENABLE = yes | 9 | TAP_DANCE_ENABLE = yes |
| 10 | 10 | ||
| 11 | # Helix Spacific Build Options | 11 | # Helix Spacific Build Options |
diff --git a/keyboards/helix/rev2/keymaps/five_rows/rules.mk b/keyboards/helix/rev2/keymaps/five_rows/rules.mk index fb564b6e0..8c4239deb 100644 --- a/keyboards/helix/rev2/keymaps/five_rows/rules.mk +++ b/keyboards/helix/rev2/keymaps/five_rows/rules.mk | |||
| @@ -11,7 +11,7 @@ | |||
| 11 | # yes, no +1500 | 11 | # yes, no +1500 |
| 12 | # yes, yes +3200 | 12 | # yes, yes +3200 |
| 13 | # no, yes +400 | 13 | # no, yes +400 |
| 14 | LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option | 14 | LTO_ENABLE = no # if firmware size over limit, try this option |
| 15 | 15 | ||
| 16 | # Helix Spacific Build Options | 16 | # Helix Spacific Build Options |
| 17 | # you can uncomment and edit follows 7 Variables | 17 | # you can uncomment and edit follows 7 Variables |
diff --git a/keyboards/helix/rev2/keymaps/five_rows_jis/rules.mk b/keyboards/helix/rev2/keymaps/five_rows_jis/rules.mk index 6c2057cfd..d44382f86 100644 --- a/keyboards/helix/rev2/keymaps/five_rows_jis/rules.mk +++ b/keyboards/helix/rev2/keymaps/five_rows_jis/rules.mk | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | # See TOP/keyboards/helix/rules.mk for a list of options that can be set. | 5 | # See TOP/keyboards/helix/rules.mk for a list of options that can be set. |
| 6 | # See TOP/docs/config_options.md for more information. | 6 | # See TOP/docs/config_options.md for more information. |
| 7 | # | 7 | # |
| 8 | LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option | 8 | LTO_ENABLE = no # if firmware size over limit, try this option |
| 9 | 9 | ||
| 10 | # Helix Spacific Build Options | 10 | # Helix Spacific Build Options |
| 11 | # you can uncomment and edit follows 7 Variables | 11 | # you can uncomment and edit follows 7 Variables |
diff --git a/keyboards/helix/rev2/keymaps/froggy/rules.mk b/keyboards/helix/rev2/keymaps/froggy/rules.mk index bea059ca1..5a0fd9a2b 100644 --- a/keyboards/helix/rev2/keymaps/froggy/rules.mk +++ b/keyboards/helix/rev2/keymaps/froggy/rules.mk | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | # See TOP/keyboards/helix/rules.mk for a list of options that can be set. | 5 | # See TOP/keyboards/helix/rules.mk for a list of options that can be set. |
| 6 | # See TOP/docs/config_options.md for more information. | 6 | # See TOP/docs/config_options.md for more information. |
| 7 | # | 7 | # |
| 8 | LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option | 8 | LTO_ENABLE = no # if firmware size over limit, try this option |
| 9 | 9 | ||
| 10 | # Helix Spacific Build Options | 10 | # Helix Spacific Build Options |
| 11 | # you can uncomment and edit follows 7 Variables | 11 | # you can uncomment and edit follows 7 Variables |
diff --git a/keyboards/helix/rev2/keymaps/froggy_106/rules.mk b/keyboards/helix/rev2/keymaps/froggy_106/rules.mk index bea059ca1..5a0fd9a2b 100644 --- a/keyboards/helix/rev2/keymaps/froggy_106/rules.mk +++ b/keyboards/helix/rev2/keymaps/froggy_106/rules.mk | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | # See TOP/keyboards/helix/rules.mk for a list of options that can be set. | 5 | # See TOP/keyboards/helix/rules.mk for a list of options that can be set. |
| 6 | # See TOP/docs/config_options.md for more information. | 6 | # See TOP/docs/config_options.md for more information. |
| 7 | # | 7 | # |
| 8 | LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option | 8 | LTO_ENABLE = no # if firmware size over limit, try this option |
| 9 | 9 | ||
| 10 | # Helix Spacific Build Options | 10 | # Helix Spacific Build Options |
| 11 | # you can uncomment and edit follows 7 Variables | 11 | # you can uncomment and edit follows 7 Variables |
diff --git a/keyboards/helix/rev2/keymaps/led_test/rules.mk b/keyboards/helix/rev2/keymaps/led_test/rules.mk index fb0b5a547..013ef1482 100644 --- a/keyboards/helix/rev2/keymaps/led_test/rules.mk +++ b/keyboards/helix/rev2/keymaps/led_test/rules.mk | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | # See TOP/keyboards/helix/rules.mk for a list of options that can be set. | 5 | # See TOP/keyboards/helix/rules.mk for a list of options that can be set. |
| 6 | # See TOP/docs/config_options.md for more information. | 6 | # See TOP/docs/config_options.md for more information. |
| 7 | # | 7 | # |
| 8 | LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option | 8 | LTO_ENABLE = no # if firmware size over limit, try this option |
| 9 | 9 | ||
| 10 | # Helix Spacific Build Options | 10 | # Helix Spacific Build Options |
| 11 | # you can uncomment and edit follows 7 Variables | 11 | # you can uncomment and edit follows 7 Variables |
diff --git a/keyboards/helix/rev2/keymaps/yshrsmz/rules.mk b/keyboards/helix/rev2/keymaps/yshrsmz/rules.mk index 13d809931..83dcc9b3b 100644 --- a/keyboards/helix/rev2/keymaps/yshrsmz/rules.mk +++ b/keyboards/helix/rev2/keymaps/yshrsmz/rules.mk | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | # See TOP/keyboards/helix/rules.mk for a list of options that can be set. | 5 | # See TOP/keyboards/helix/rules.mk for a list of options that can be set. |
| 6 | # See TOP/docs/config_options.md for more information. | 6 | # See TOP/docs/config_options.md for more information. |
| 7 | # | 7 | # |
| 8 | LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option | 8 | LTO_ENABLE = no # if firmware size over limit, try this option |
| 9 | 9 | ||
| 10 | # Helix Spacific Build Options | 10 | # Helix Spacific Build Options |
| 11 | # you can uncomment and edit follows 7 Variables | 11 | # you can uncomment and edit follows 7 Variables |
diff --git a/keyboards/helix/rev2/local_features.mk b/keyboards/helix/rev2/local_features.mk index 4b120936d..3f8a7216f 100644 --- a/keyboards/helix/rev2/local_features.mk +++ b/keyboards/helix/rev2/local_features.mk | |||
| @@ -119,7 +119,7 @@ ifneq ($(strip $(SHOW_HELIX_OPTIONS)),) | |||
| 119 | $(info -- OLED_DRIVER_ENABLE = $(OLED_DRIVER_ENABLE)) | 119 | $(info -- OLED_DRIVER_ENABLE = $(OLED_DRIVER_ENABLE)) |
| 120 | $(info -- CONSOLE_ENABLE = $(CONSOLE_ENABLE)) | 120 | $(info -- CONSOLE_ENABLE = $(CONSOLE_ENABLE)) |
| 121 | $(info -- OPT_DEFS = $(OPT_DEFS)) | 121 | $(info -- OPT_DEFS = $(OPT_DEFS)) |
| 122 | $(info -- LINK_TIME_OPTIMIZATION_ENABLE = $(LINK_TIME_OPTIMIZATION_ENABLE)) | 122 | $(info -- LTO_ENABLE = $(LTO_ENABLE)) |
| 123 | $(info ) | 123 | $(info ) |
| 124 | endif | 124 | endif |
| 125 | endif | 125 | endif |
diff --git a/keyboards/hineybush/h88/rules.mk b/keyboards/hineybush/h88/rules.mk index f39537546..3d7de2731 100644 --- a/keyboards/hineybush/h88/rules.mk +++ b/keyboards/hineybush/h88/rules.mk | |||
| @@ -30,4 +30,4 @@ UNICODE_ENABLE = no # Unicode | |||
| 30 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 30 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID |
| 31 | AUDIO_ENABLE = no # Audio output on port C6 | 31 | AUDIO_ENABLE = no # Audio output on port C6 |
| 32 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | 32 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches |
| 33 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 33 | LTO_ENABLE = yes |
diff --git a/keyboards/hotdox/keymaps/ninjonas/rules.mk b/keyboards/hotdox/keymaps/ninjonas/rules.mk index 3ec5fb062..4da205a16 100644 --- a/keyboards/hotdox/keymaps/ninjonas/rules.mk +++ b/keyboards/hotdox/keymaps/ninjonas/rules.mk | |||
| @@ -1 +1 @@ | |||
| LINK_TIME_OPTIMIZATION_ENABLE = yes \ No newline at end of file | LTO_ENABLE = yes | ||
diff --git a/keyboards/id80/keymaps/via/rules.mk b/keyboards/id80/keymaps/via/rules.mk index ea9a831e1..ca9fed0e6 100644 --- a/keyboards/id80/keymaps/via/rules.mk +++ b/keyboards/id80/keymaps/via/rules.mk | |||
| @@ -1,2 +1,2 @@ | |||
| 1 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 1 | LTO_ENABLE = yes |
| 2 | VIA_ENABLE = yes | 2 | VIA_ENABLE = yes |
diff --git a/keyboards/kc60/keymaps/noroadsleft/rules.mk b/keyboards/kc60/keymaps/noroadsleft/rules.mk index c9805878d..2eab7943d 100644 --- a/keyboards/kc60/keymaps/noroadsleft/rules.mk +++ b/keyboards/kc60/keymaps/noroadsleft/rules.mk | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | # https://github.com/qmk/qmk_firmware/issues/3448#issuecomment-406636125 | 1 | # https://github.com/qmk/qmk_firmware/issues/3448#issuecomment-406636125 |
| 2 | # EXTRAFLAGS += -flto | 2 | # EXTRAFLAGS += -flto |
| 3 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 3 | LTO_ENABLE = yes |
| 4 | 4 | ||
| 5 | MOUSEKEY_ENABLE = no # Mouse keys | 5 | MOUSEKEY_ENABLE = no # Mouse keys |
| 6 | # COMMAND_ENABLE = no # Commands for debug and configuration | 6 | # COMMAND_ENABLE = no # Commands for debug and configuration |
diff --git a/keyboards/keebio/bdn9/keymaps/via/rules.mk b/keyboards/keebio/bdn9/keymaps/via/rules.mk index aa554ae29..d96967a60 100644 --- a/keyboards/keebio/bdn9/keymaps/via/rules.mk +++ b/keyboards/keebio/bdn9/keymaps/via/rules.mk | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | VIA_ENABLE = yes | 1 | VIA_ENABLE = yes |
| 2 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 2 | LTO_ENABLE = yes |
| 3 | MOUSEKEY_ENABLE = yes | 3 | MOUSEKEY_ENABLE = yes |
| 4 | CONSOLE_ENABLE = yes | 4 | CONSOLE_ENABLE = yes |
| 5 | COMMAND_ENABLE = no | 5 | COMMAND_ENABLE = no |
diff --git a/keyboards/keebio/iris/keymaps/pvinis/rules.mk b/keyboards/keebio/iris/keymaps/pvinis/rules.mk index deeb31203..1e7e2d417 100644 --- a/keyboards/keebio/iris/keymaps/pvinis/rules.mk +++ b/keyboards/keebio/iris/keymaps/pvinis/rules.mk | |||
| @@ -4,6 +4,6 @@ RGBLIGHT_ENABLE = yes # rgb leds underlight | |||
| 4 | ENCODER_ENABLE = yes # rotary knob | 4 | ENCODER_ENABLE = yes # rotary knob |
| 5 | 5 | ||
| 6 | # Some extra stuff to make firmware smaller. | 6 | # Some extra stuff to make firmware smaller. |
| 7 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 7 | LTO_ENABLE = yes |
| 8 | CONSOLE_ENABLE = no | 8 | CONSOLE_ENABLE = no |
| 9 | COMMAND_ENABLE = no | 9 | COMMAND_ENABLE = no |
diff --git a/keyboards/keebio/iris/keymaps/via/rules.mk b/keyboards/keebio/iris/keymaps/via/rules.mk index 92f9671ee..36b7ba9cb 100644 --- a/keyboards/keebio/iris/keymaps/via/rules.mk +++ b/keyboards/keebio/iris/keymaps/via/rules.mk | |||
| @@ -1,2 +1,2 @@ | |||
| 1 | VIA_ENABLE = yes | 1 | VIA_ENABLE = yes |
| 2 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 2 | LTO_ENABLE = yes |
diff --git a/keyboards/keebio/quefrency/keymaps/drashna_ms/rules.mk b/keyboards/keebio/quefrency/keymaps/drashna_ms/rules.mk index 1b8b582ab..fb7f940c9 100644 --- a/keyboards/keebio/quefrency/keymaps/drashna_ms/rules.mk +++ b/keyboards/keebio/quefrency/keymaps/drashna_ms/rules.mk | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 1 | LTO_ENABLE = yes |
| 2 | RGBLIGHT_ENABLE = yes | 2 | RGBLIGHT_ENABLE = yes |
| 3 | EXTRAKEY_ENABLE = yes | 3 | EXTRAKEY_ENABLE = yes |
| 4 | AUDIO_ENABLE = yes | 4 | AUDIO_ENABLE = yes |
diff --git a/keyboards/keebio/quefrency/keymaps/via/rules.mk b/keyboards/keebio/quefrency/keymaps/via/rules.mk index 540fc2ac3..4b1bcabda 100644 --- a/keyboards/keebio/quefrency/keymaps/via/rules.mk +++ b/keyboards/keebio/quefrency/keymaps/via/rules.mk | |||
| @@ -1,3 +1,3 @@ | |||
| 1 | VIA_ENABLE = yes | 1 | VIA_ENABLE = yes |
| 2 | CONSOLE_ENABLE = yes | 2 | CONSOLE_ENABLE = yes |
| 3 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 3 | LTO_ENABLE = yes |
diff --git a/keyboards/kyria/keymaps/ninjonas/rules.mk b/keyboards/kyria/keymaps/ninjonas/rules.mk index e7e4726ba..94c06b80e 100644 --- a/keyboards/kyria/keymaps/ninjonas/rules.mk +++ b/keyboards/kyria/keymaps/ninjonas/rules.mk | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | OLED_DRIVER_ENABLE = yes # Enables the use of OLED displays | 1 | OLED_DRIVER_ENABLE = yes # Enables the use of OLED displays |
| 2 | ENCODER_ENABLE = yes # Enables the use of one or more encoders | 2 | ENCODER_ENABLE = yes # Enables the use of one or more encoders |
| 3 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 3 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
| 4 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 4 | LTO_ENABLE = yes |
| 5 | 5 | ||
| 6 | SRC += oled.c \ No newline at end of file | 6 | SRC += oled.c |
diff --git a/keyboards/kyria/rules.mk b/keyboards/kyria/rules.mk index 57fbf76cf..96f76241d 100644 --- a/keyboards/kyria/rules.mk +++ b/keyboards/kyria/rules.mk | |||
| @@ -31,6 +31,6 @@ AUDIO_ENABLE = no # Audio output on port C6 | |||
| 31 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | 31 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches |
| 32 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs | 32 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs |
| 33 | SPLIT_KEYBOARD = yes # Split common | 33 | SPLIT_KEYBOARD = yes # Split common |
| 34 | LINK_TIME_OPTIMIZATION_ENABLE =yes | 34 | LTO_ENABLE = yes |
| 35 | 35 | ||
| 36 | DEFAULT_FOLDER = kyria/rev1 | 36 | DEFAULT_FOLDER = kyria/rev1 |
diff --git a/keyboards/launchpad/keymaps/via/rules.mk b/keyboards/launchpad/keymaps/via/rules.mk index 87843cb0d..37484844f 100644 --- a/keyboards/launchpad/keymaps/via/rules.mk +++ b/keyboards/launchpad/keymaps/via/rules.mk | |||
| @@ -1,3 +1,3 @@ | |||
| 1 | VIA_ENABLE = yes | 1 | VIA_ENABLE = yes |
| 2 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 2 | LTO_ENABLE = yes |
| 3 | RGBLIGHT_ENABLE = yes | 3 | RGBLIGHT_ENABLE = yes |
diff --git a/keyboards/lily58/keymaps/ninjonas/rules.mk b/keyboards/lily58/keymaps/ninjonas/rules.mk index dc3fe55bc..2cccbd077 100644 --- a/keyboards/lily58/keymaps/ninjonas/rules.mk +++ b/keyboards/lily58/keymaps/ninjonas/rules.mk | |||
| @@ -1,2 +1,2 @@ | |||
| 1 | OLED_DRIVER_ENABLE = yes | 1 | OLED_DRIVER_ENABLE = yes |
| 2 | LINK_TIME_OPTIMIZATION_ENABLE = yes \ No newline at end of file | 2 | LTO_ENABLE = yes |
diff --git a/keyboards/pinky/3/keymaps/ninjonas/rules.mk b/keyboards/pinky/3/keymaps/ninjonas/rules.mk index 155f56ef9..8d32e2248 100644 --- a/keyboards/pinky/3/keymaps/ninjonas/rules.mk +++ b/keyboards/pinky/3/keymaps/ninjonas/rules.mk | |||
| @@ -1,2 +1,2 @@ | |||
| 1 | MOUSEKEY_ENABLE = no | 1 | MOUSEKEY_ENABLE = no |
| 2 | LINK_TIME_OPTIMIZATION_ENABLE = yes \ No newline at end of file | 2 | LTO_ENABLE = yes |
diff --git a/keyboards/planck/keymaps/oryx/rules.mk b/keyboards/planck/keymaps/oryx/rules.mk index fb44d6b95..7657a3043 100644 --- a/keyboards/planck/keymaps/oryx/rules.mk +++ b/keyboards/planck/keymaps/oryx/rules.mk | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | SRC += muse.c | 1 | SRC += muse.c |
| 2 | # Set any rules.mk overrides for your specific keymap here. | 2 | # Set any rules.mk overrides for your specific keymap here. |
| 3 | # See rules at https://docs.qmk.fm/#/config_options?id=the-rulesmk-file | 3 | # See rules at https://docs.qmk.fm/#/config_options?id=the-rulesmk-file |
| 4 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 4 | LTO_ENABLE = yes |
| 5 | COMMAND_ENABLE = no | 5 | COMMAND_ENABLE = no |
| 6 | MOUSEKEY_ENABLE = no | 6 | MOUSEKEY_ENABLE = no |
diff --git a/keyboards/planck/keymaps/sascha/rules.mk b/keyboards/planck/keymaps/sascha/rules.mk index 57e5e2643..ac69f9dbc 100644 --- a/keyboards/planck/keymaps/sascha/rules.mk +++ b/keyboards/planck/keymaps/sascha/rules.mk | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | AUTO_SHIFT_ENABLE = yes | 1 | AUTO_SHIFT_ENABLE = yes |
| 2 | AUTO_SHIFT_MODIFIERS = yes | 2 | AUTO_SHIFT_MODIFIERS = yes |
| 3 | UNICODE_ENABLE = yes | 3 | UNICODE_ENABLE = yes |
| 4 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 4 | LTO_ENABLE = yes |
| 5 | 5 | ||
| 6 | ifeq ($(strip $(KEYBOARD)), planck/rev5) | 6 | ifeq ($(strip $(KEYBOARD)), planck/rev5) |
| 7 | BACKLIGHT_ENABLE = yes | 7 | BACKLIGHT_ENABLE = yes |
diff --git a/keyboards/planck/keymaps/tylerwince/rules.mk b/keyboards/planck/keymaps/tylerwince/rules.mk index a4f1a0b84..2c1585883 100644 --- a/keyboards/planck/keymaps/tylerwince/rules.mk +++ b/keyboards/planck/keymaps/tylerwince/rules.mk | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | SRC += muse.c | 1 | SRC += muse.c |
| 2 | # Set any rules.mk overrides for your specific keymap here. | 2 | # Set any rules.mk overrides for your specific keymap here. |
| 3 | # See rules at https://docs.qmk.fm/#/config_options?id=the-rulesmk-file | 3 | # See rules at https://docs.qmk.fm/#/config_options?id=the-rulesmk-file |
| 4 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 4 | LTO_ENABLE = yes |
| 5 | COMMAND_ENABLE = no | 5 | COMMAND_ENABLE = no |
| 6 | MOUSEKEY_ENABLE = no | 6 | MOUSEKEY_ENABLE = no |
| 7 | TAP_DANCE_ENABLE=yes | 7 | TAP_DANCE_ENABLE=yes |
diff --git a/keyboards/preonic/rev1/rules.mk b/keyboards/preonic/rev1/rules.mk index 45edfa0b0..dea2bbbca 100644 --- a/keyboards/preonic/rev1/rules.mk +++ b/keyboards/preonic/rev1/rules.mk | |||
| @@ -34,4 +34,4 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | |||
| 34 | 34 | ||
| 35 | LAYOUTS = ortho_5x12 | 35 | LAYOUTS = ortho_5x12 |
| 36 | 36 | ||
| 37 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 37 | LTO_ENABLE = yes |
diff --git a/keyboards/preonic/rev2/rules.mk b/keyboards/preonic/rev2/rules.mk index f24c6a49b..1b72a622a 100644 --- a/keyboards/preonic/rev2/rules.mk +++ b/keyboards/preonic/rev2/rules.mk | |||
| @@ -34,4 +34,4 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | |||
| 34 | 34 | ||
| 35 | LAYOUTS = ortho_5x12 | 35 | LAYOUTS = ortho_5x12 |
| 36 | 36 | ||
| 37 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 37 | LTO_ENABLE = yes |
diff --git a/keyboards/rgbkb/sol/keymaps/kageurufu/rules.mk b/keyboards/rgbkb/sol/keymaps/kageurufu/rules.mk index 056959a55..f60fa5d4c 100644 --- a/keyboards/rgbkb/sol/keymaps/kageurufu/rules.mk +++ b/keyboards/rgbkb/sol/keymaps/kageurufu/rules.mk | |||
| @@ -11,11 +11,10 @@ LED_MIRRORED = no # Mirror LEDs across halves (enable DIP 1 on | |||
| 11 | RGB_MATRIX_ENABLE = WS2812 # Enable per-key coordinate based RGB effects. Do not enable with RGBlight | 11 | RGB_MATRIX_ENABLE = WS2812 # Enable per-key coordinate based RGB effects. Do not enable with RGBlight |
| 12 | 12 | ||
| 13 | # Userspace implements their own LTO | 13 | # Userspace implements their own LTO |
| 14 | LINK_TIME_OPTIMIZATION_ENABLE = no | 14 | LTO_ENABLE = no |
| 15 | 15 | ||
| 16 | 16 | ||
| 17 | 17 | ||
| 18 | # Do not edit past here | 18 | # Do not edit past here |
| 19 | 19 | ||
| 20 | include keyboards/$(KEYBOARD)/post_rules.mk | 20 | include keyboards/$(KEYBOARD)/post_rules.mk |
| 21 | |||
diff --git a/keyboards/rgbkb/sol/rev2/rules.mk b/keyboards/rgbkb/sol/rev2/rules.mk index debe8fe6b..201a7b47b 100644 --- a/keyboards/rgbkb/sol/rev2/rules.mk +++ b/keyboards/rgbkb/sol/rev2/rules.mk | |||
| @@ -29,7 +29,7 @@ IOS_DEVICE_ENABLE = no # Limit max brightness to connect to IOS dev | |||
| 29 | OLED_DRIVER_ENABLE = no # Enable the OLED Driver | 29 | OLED_DRIVER_ENABLE = no # Enable the OLED Driver |
| 30 | EXTRA_ENCODERS_ENABLE = no # Enables 3 encoders per side (up from 1, not compatible with OLED_DRIVER_ENABLE) | 30 | EXTRA_ENCODERS_ENABLE = no # Enables 3 encoders per side (up from 1, not compatible with OLED_DRIVER_ENABLE) |
| 31 | SWAP_HANDS_ENABLE = no # Enable one-hand typing | 31 | SWAP_HANDS_ENABLE = no # Enable one-hand typing |
| 32 | LINK_TIME_OPTIMIZATION_ENABLE = yes # Enable Link Time Optimizations greatly reducing firmware size by disabling the old Macros and Functions features | 32 | LTO_ENABLE = yes # Enable Link Time Optimizations greatly reducing firmware size by disabling the old Macros and Functions features |
| 33 | 33 | ||
| 34 | # Special RGB Matrix, OLED, & Encoder Control Menu! | 34 | # Special RGB Matrix, OLED, & Encoder Control Menu! |
| 35 | RGB_OLED_MENU = no # Enabled by setting this to the encoder index (0-5) you wish to use to control the menu. | 35 | RGB_OLED_MENU = no # Enabled by setting this to the encoder index (0-5) you wish to use to control the menu. |
diff --git a/keyboards/rgbkb/zygomorph/keymaps/5x6pad/rules.mk b/keyboards/rgbkb/zygomorph/keymaps/5x6pad/rules.mk index 55d52d58e..c223cb9eb 100644 --- a/keyboards/rgbkb/zygomorph/keymaps/5x6pad/rules.mk +++ b/keyboards/rgbkb/zygomorph/keymaps/5x6pad/rules.mk | |||
| @@ -19,7 +19,7 @@ SWAP_HANDS_ENABLE = no # Enable one-hand typing | |||
| 19 | ENCODER_ENABLE = yes # Enable rotary encoder | 19 | ENCODER_ENABLE = yes # Enable rotary encoder |
| 20 | OLED_DRIVER_ENABLE = no # Enable the OLED Driver | 20 | OLED_DRIVER_ENABLE = no # Enable the OLED Driver |
| 21 | IOS_DEVICE_ENABLE = no # Limit max brightness to connect to IOS device (iPad,iPhone) | 21 | IOS_DEVICE_ENABLE = no # Limit max brightness to connect to IOS device (iPad,iPhone) |
| 22 | LINK_TIME_OPTIMIZATION_ENABLE = no # Enable optimizations to reduce firmware size. Also disables action macros and functions. | 22 | LTO_ENABLE = no # Enable optimizations to reduce firmware size. Also disables action macros and functions. |
| 23 | 23 | ||
| 24 | # Do not edit past here | 24 | # Do not edit past here |
| 25 | 25 | ||
diff --git a/keyboards/rgbkb/zygomorph/keymaps/default/rules.mk b/keyboards/rgbkb/zygomorph/keymaps/default/rules.mk index 55d52d58e..c223cb9eb 100644 --- a/keyboards/rgbkb/zygomorph/keymaps/default/rules.mk +++ b/keyboards/rgbkb/zygomorph/keymaps/default/rules.mk | |||
| @@ -19,7 +19,7 @@ SWAP_HANDS_ENABLE = no # Enable one-hand typing | |||
| 19 | ENCODER_ENABLE = yes # Enable rotary encoder | 19 | ENCODER_ENABLE = yes # Enable rotary encoder |
| 20 | OLED_DRIVER_ENABLE = no # Enable the OLED Driver | 20 | OLED_DRIVER_ENABLE = no # Enable the OLED Driver |
| 21 | IOS_DEVICE_ENABLE = no # Limit max brightness to connect to IOS device (iPad,iPhone) | 21 | IOS_DEVICE_ENABLE = no # Limit max brightness to connect to IOS device (iPad,iPhone) |
| 22 | LINK_TIME_OPTIMIZATION_ENABLE = no # Enable optimizations to reduce firmware size. Also disables action macros and functions. | 22 | LTO_ENABLE = no # Enable optimizations to reduce firmware size. Also disables action macros and functions. |
| 23 | 23 | ||
| 24 | # Do not edit past here | 24 | # Do not edit past here |
| 25 | 25 | ||
diff --git a/keyboards/rgbkb/zygomorph/keymaps/default_oled/rules.mk b/keyboards/rgbkb/zygomorph/keymaps/default_oled/rules.mk index 961edb6e2..f2c194f0d 100644 --- a/keyboards/rgbkb/zygomorph/keymaps/default_oled/rules.mk +++ b/keyboards/rgbkb/zygomorph/keymaps/default_oled/rules.mk | |||
| @@ -19,7 +19,7 @@ SWAP_HANDS_ENABLE = no # Enable one-hand typing | |||
| 19 | ENCODER_ENABLE = yes # Enable rotary encoder | 19 | ENCODER_ENABLE = yes # Enable rotary encoder |
| 20 | OLED_DRIVER_ENABLE = yes # Enable the OLED Driver | 20 | OLED_DRIVER_ENABLE = yes # Enable the OLED Driver |
| 21 | IOS_DEVICE_ENABLE = no # Limit max brightness to connect to IOS device (iPad,iPhone) | 21 | IOS_DEVICE_ENABLE = no # Limit max brightness to connect to IOS device (iPad,iPhone) |
| 22 | LINK_TIME_OPTIMIZATION_ENABLE = yes # Enable optimizations to reduce firmware size. Also disables action macros and functions. | 22 | LTO_ENABLE = yes # Enable optimizations to reduce firmware size. Also disables action macros and functions. |
| 23 | 23 | ||
| 24 | # Do not edit past here | 24 | # Do not edit past here |
| 25 | 25 | ||
diff --git a/keyboards/rgbkb/zygomorph/keymaps/xulkal/rules.mk b/keyboards/rgbkb/zygomorph/keymaps/xulkal/rules.mk index dc687cbbd..78969ad7a 100644 --- a/keyboards/rgbkb/zygomorph/keymaps/xulkal/rules.mk +++ b/keyboards/rgbkb/zygomorph/keymaps/xulkal/rules.mk | |||
| @@ -19,7 +19,7 @@ SWAP_HANDS_ENABLE = no # Enable one-hand typing | |||
| 19 | ENCODER_ENABLE = no # Enable rotary encoder | 19 | ENCODER_ENABLE = no # Enable rotary encoder |
| 20 | OLED_DRIVER_ENABLE = no # Enable the OLED Driver | 20 | OLED_DRIVER_ENABLE = no # Enable the OLED Driver |
| 21 | IOS_DEVICE_ENABLE = no # Limit max brightness to connect to IOS device (iPad,iPhone) | 21 | IOS_DEVICE_ENABLE = no # Limit max brightness to connect to IOS device (iPad,iPhone) |
| 22 | LINK_TIME_OPTIMIZATION_ENABLE = no # Enable optimizations to reduce firmware size. Also disables action macros and functions. | 22 | LTO_ENABLE = no # Enable optimizations to reduce firmware size. Also disables action macros and functions. |
| 23 | 23 | ||
| 24 | # Do not edit past here | 24 | # Do not edit past here |
| 25 | 25 | ||
diff --git a/keyboards/tg4x/rules.mk b/keyboards/tg4x/rules.mk index 41988177d..4a86998cb 100644 --- a/keyboards/tg4x/rules.mk +++ b/keyboards/tg4x/rules.mk | |||
| @@ -31,4 +31,4 @@ AUDIO_ENABLE = no # Audio output on port C6 | |||
| 31 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | 31 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches |
| 32 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs | 32 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs |
| 33 | 33 | ||
| 34 | LINK_TIME_OPTIMIZATION_ENABLE = yes \ No newline at end of file | 34 | LTO_ENABLE = yes |
diff --git a/keyboards/tkc/candybar/lefty/rules.mk b/keyboards/tkc/candybar/lefty/rules.mk index 52ef91c47..1edad0835 100644 --- a/keyboards/tkc/candybar/lefty/rules.mk +++ b/keyboards/tkc/candybar/lefty/rules.mk | |||
| @@ -5,7 +5,7 @@ MCU = STM32F072 | |||
| 5 | # comment out to disable the options. | 5 | # comment out to disable the options. |
| 6 | # | 6 | # |
| 7 | # EXTRAFLAGS+=-flto | 7 | # EXTRAFLAGS+=-flto |
| 8 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 8 | LTO_ENABLE = yes |
| 9 | BACKLIGHT_ENABLE = no | 9 | BACKLIGHT_ENABLE = no |
| 10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | 10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration |
| 11 | ## (Note that for BOOTMAGIC on Teensy LC you have to use a custom .ld script.) | 11 | ## (Note that for BOOTMAGIC on Teensy LC you have to use a custom .ld script.) |
diff --git a/keyboards/tkc/candybar/righty/rules.mk b/keyboards/tkc/candybar/righty/rules.mk index 52ef91c47..1edad0835 100644 --- a/keyboards/tkc/candybar/righty/rules.mk +++ b/keyboards/tkc/candybar/righty/rules.mk | |||
| @@ -5,7 +5,7 @@ MCU = STM32F072 | |||
| 5 | # comment out to disable the options. | 5 | # comment out to disable the options. |
| 6 | # | 6 | # |
| 7 | # EXTRAFLAGS+=-flto | 7 | # EXTRAFLAGS+=-flto |
| 8 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 8 | LTO_ENABLE = yes |
| 9 | BACKLIGHT_ENABLE = no | 9 | BACKLIGHT_ENABLE = no |
| 10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | 10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration |
| 11 | ## (Note that for BOOTMAGIC on Teensy LC you have to use a custom .ld script.) | 11 | ## (Note that for BOOTMAGIC on Teensy LC you have to use a custom .ld script.) |
diff --git a/keyboards/v60_type_r/rules.mk b/keyboards/v60_type_r/rules.mk index 94205df11..16ecb7df4 100644 --- a/keyboards/v60_type_r/rules.mk +++ b/keyboards/v60_type_r/rules.mk | |||
| @@ -32,6 +32,6 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | |||
| 32 | AUDIO_ENABLE = no # Audio output on port C6 | 32 | AUDIO_ENABLE = no # Audio output on port C6 |
| 33 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | 33 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches |
| 34 | 34 | ||
| 35 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 35 | LTO_ENABLE = yes |
| 36 | 36 | ||
| 37 | LAYOUTS = 60_ansi 60_iso | 37 | LAYOUTS = 60_ansi 60_iso |
diff --git a/keyboards/vitamins_included/rules.mk b/keyboards/vitamins_included/rules.mk index 3eb3a1c30..c95ae27ec 100644 --- a/keyboards/vitamins_included/rules.mk +++ b/keyboards/vitamins_included/rules.mk | |||
| @@ -25,4 +25,4 @@ LAYOUTS = ortho_4x12 | |||
| 25 | 25 | ||
| 26 | DEFAULT_FOLDER = vitamins_included/rev2 | 26 | DEFAULT_FOLDER = vitamins_included/rev2 |
| 27 | 27 | ||
| 28 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 28 | LTO_ENABLE = yes |
diff --git a/keyboards/xd004/v1/config.h b/keyboards/xd004/v1/config.h index f7a262d4c..b90e10b89 100644 --- a/keyboards/xd004/v1/config.h +++ b/keyboards/xd004/v1/config.h | |||
| @@ -75,6 +75,6 @@ further optimizations can be done on that side. | |||
| 75 | 75 | ||
| 76 | /* disable action features */ | 76 | /* disable action features */ |
| 77 | // #define NO_ACTION_ONESHOT // 462 bytes <- this needs to be un-commented out if Link Time Optimization is disabled, otherwise file is too large | 77 | // #define NO_ACTION_ONESHOT // 462 bytes <- this needs to be un-commented out if Link Time Optimization is disabled, otherwise file is too large |
| 78 | // The two below are implicit since we use LINK_TIME_OPTIMIZATION_ENABLE (in rules.mk) | 78 | // The two below are implicit since we use LTO_ENABLE (in rules.mk) |
| 79 | // #define NO_ACTION_MACRO | 79 | // #define NO_ACTION_MACRO |
| 80 | // #define NO_ACTION_FUNCTION | 80 | // #define NO_ACTION_FUNCTION |
diff --git a/keyboards/xd004/v1/rules.mk b/keyboards/xd004/v1/rules.mk index 18f7d8041..e9afff93c 100644 --- a/keyboards/xd004/v1/rules.mk +++ b/keyboards/xd004/v1/rules.mk | |||
| @@ -27,6 +27,6 @@ RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. | |||
| 27 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 27 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 28 | SPACE_CADET_ENABLE = no | 28 | SPACE_CADET_ENABLE = no |
| 29 | # Saves about 5% of space: | 29 | # Saves about 5% of space: |
| 30 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 30 | LTO_ENABLE = yes |
| 31 | 31 | ||
| 32 | #LAYOUTS = ortho_1x4 | 32 | #LAYOUTS = ortho_1x4 |
diff --git a/keyboards/xd84/rules.mk b/keyboards/xd84/rules.mk index cf4e64361..590038622 100644 --- a/keyboards/xd84/rules.mk +++ b/keyboards/xd84/rules.mk | |||
| @@ -31,7 +31,7 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | |||
| 31 | AUDIO_ENABLE = no # Audio output on port C6 | 31 | AUDIO_ENABLE = no # Audio output on port C6 |
| 32 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | 32 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches |
| 33 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs | 33 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs |
| 34 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 34 | LTO_ENABLE = yes |
| 35 | 35 | ||
| 36 | # custom matrix setup | 36 | # custom matrix setup |
| 37 | CUSTOM_MATRIX = lite | 37 | CUSTOM_MATRIX = lite |
diff --git a/keyboards/xd96/rules.mk b/keyboards/xd96/rules.mk index 0c56a5ac0..3ede910c3 100644 --- a/keyboards/xd96/rules.mk +++ b/keyboards/xd96/rules.mk | |||
| @@ -31,7 +31,7 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | |||
| 31 | AUDIO_ENABLE = no # Audio output on port C6 | 31 | AUDIO_ENABLE = no # Audio output on port C6 |
| 32 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | 32 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches |
| 33 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs | 33 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs |
| 34 | LINK_TIME_OPTIMIZATION_ENABLE = yes | 34 | LTO_ENABLE = yes |
| 35 | 35 | ||
| 36 | # custom matrix setup | 36 | # custom matrix setup |
| 37 | CUSTOM_MATRIX = lite | 37 | CUSTOM_MATRIX = lite |
diff --git a/keyboards/yushakobo/quick7/config.h b/keyboards/yushakobo/quick7/config.h index 4fb8ba6d9..b9abd137b 100644 --- a/keyboards/yushakobo/quick7/config.h +++ b/keyboards/yushakobo/quick7/config.h | |||
| @@ -192,7 +192,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 192 | //#define NO_ACTION_ONESHOT | 192 | //#define NO_ACTION_ONESHOT |
| 193 | 193 | ||
| 194 | /* disable these deprecated features by default */ | 194 | /* disable these deprecated features by default */ |
| 195 | #ifndef LINK_TIME_OPTIMIZATION_ENABLE | 195 | #ifndef LTO_ENABLE |
| 196 | #define NO_ACTION_MACRO | 196 | #define NO_ACTION_MACRO |
| 197 | #define NO_ACTION_FUNCTION | 197 | #define NO_ACTION_FUNCTION |
| 198 | #endif | 198 | #endif |
