Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better handle LTO_ENABLE #9832

Merged
merged 3 commits into from
Aug 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions docs/config_options.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,11 +324,9 @@ This is a [make](https://www.gnu.org/software/make/manual/make.html) file that i
```
* `LAYOUTS`
* A list of [layouts](feature_layouts.md) this keyboard supports.
* `LINK_TIME_OPTIMIZATION_ENABLE`
* `LTO_ENABLE`
* Enables Link Time Optimization (LTO) when compiling the keyboard. This makes the process take longer, but it can significantly reduce the compiled size (and since the firmware is small, the added time is not noticeable).
However, this will automatically disable the legacy TMK Macros and Functions features, as these break when LTO is enabled. It does this by automatically defining `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION`. (Note: This does not affect QMK [Macros](feature_macros.md) and [Layers](feature_layers.md).)
* `LTO_ENABLE`
* Has the same meaning as `LINK_TIME_OPTIMIZATION_ENABLE`. You can use `LTO_ENABLE` instead of `LINK_TIME_OPTIMIZATION_ENABLE`.
## AVR MCU Options
* `MCU = atmega32u4`
Expand Down
4 changes: 1 addition & 3 deletions docs/ja/config_options.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,11 +322,9 @@ QMK での全ての利用可能な設定にはデフォルトがあります。
```
* `LAYOUTS`
* このキーボードがサポートする[レイアウト](ja/feature_layouts.md)のリスト
* `LINK_TIME_OPTIMIZATION_ENABLE`
* `LTO_ENABLE`
* キーボードをコンパイルする時に、Link Time Optimization (LTO) を有効にします。これは処理に時間が掛かりますが、コンパイルされたサイズを大幅に減らします (そして、ファームウェアが小さいため、追加の時間は分からないくらいです)。
ただし、LTO が有効な場合、古い TMK のマクロと関数の機能が壊れるため、自動的にこれらの機能を無効にします。これは `NO_ACTION_MACRO` と `NO_ACTION_FUNCTION` を自動的に定義することで行われます。(メモ: これは QMK の [マクロ](ja/feature_macros.md) と [レイヤー](ja/feature_layers.md) には影響を与えません。)
* `LTO_ENABLE`
* LINK_TIME_OPTIMIZATION_ENABLE と同じ意味です。`LINK_TIME_OPTIMIZATION_ENABLE` の代わりに `LTO_ENABLE` を使うことができます。
## AVR MCU オプション
* `MCU = atmega32u4`
Expand Down
2 changes: 1 addition & 1 deletion keyboards/1upkeyboards/sweet16/v1/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ BOOTLOADER = caterina
RGBLIGHT_ENABLE = yes
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality

LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes
2 changes: 1 addition & 1 deletion keyboards/1upkeyboards/sweet16/v2/promicro/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ CONSOLE_ENABLE = yes
RGBLIGHT_ENABLE = no
ENCODER_ENABLE = yes

LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes
2 changes: 1 addition & 1 deletion keyboards/bm60rgb/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
AUDIO_ENABLE = no # Audio output on port C6
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
RGB_MATRIX_ENABLE = WS2812
LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes

# partially generated by KBFirmware JSON to QMK Parser
# https://noroadsleft.github.io/kbf_qmk_converter/
2 changes: 1 addition & 1 deletion keyboards/clueboard/66/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# rules.mk overrides to enable VIA

VIA_ENABLE = yes
LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes
2 changes: 1 addition & 1 deletion keyboards/clueboard/card/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
AUDIO_ENABLE = yes # Audio output on port C6

LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes
2 changes: 1 addition & 1 deletion keyboards/converter/usb_usb/keymaps/chriskopher/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ EXTRAKEY_ENABLE = yes # Used for audio control and system control keys
COMBO_ENABLE = yes # Used to allow chording of keys to trigger an action
TAP_DANCE_ENABLE = yes # Used to allow multiple taps of a key to perform different actions

LINK_TIME_OPTIMIZATION_ENABLE = yes # Reduces the compiled firmware size
LTO_ENABLE = yes # Reduces the compiled firmware size

SRC += combo.c tap_dance.c
2 changes: 1 addition & 1 deletion keyboards/crkbd/keymaps/ninjonas/rules.mk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
RGB_MATRIX_ENABLE = WS2812
MOUSEKEY_ENABLE = no
OLED_DRIVER_ENABLE = yes
LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes

# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
2 changes: 1 addition & 1 deletion keyboards/crkbd/keymaps/rpbaptist/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#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.
LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes

#Build Options
#change to "no" to disable the options, or define them in the Makefile in
Expand Down
2 changes: 1 addition & 1 deletion keyboards/dz60/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes
VIA_ENABLE = yes
3 changes: 1 addition & 2 deletions keyboards/dztech/dz60rgb/keymaps/xunz/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
NKRO_ENABLE = yes # USB Nkey Rollover
# VELOCIKEY_ENABLE = yes

LINK_TIME_OPTIMIZATION_ENABLE = yes

LTO_ENABLE = yes
3 changes: 1 addition & 2 deletions keyboards/dztech/dz65rgb/keymaps/chocol8/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ NKRO_ENABLE = yes # USB Nkey Rollover
VELOCIKEY_ENABLE = yes
# AUTO_SHIFT_ENABLE = yes # Auto Shift

LINK_TIME_OPTIMIZATION_ENABLE = yes

LTO_ENABLE = yes
3 changes: 1 addition & 2 deletions keyboards/dztech/dz65rgb/keymaps/matthewrobo/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ NKRO_ENABLE = yes # USB Nkey Rollover
AUTO_SHIFT_ENABLE = yes # Auto Shift
# VELOCIKEY_ENABLE = yes

LINK_TIME_OPTIMIZATION_ENABLE = yes

LTO_ENABLE = yes
2 changes: 1 addition & 1 deletion keyboards/ergodox_ez/keymaps/hacker_dvorak/rules.mk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Set any rules.mk overrides for your specific keymap here.
# See rules at https://docs.qmk.fm/#/config_options?id=the-rulesmk-file

LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes
NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
TAP_DANCE_ENABLE = yes
MOUSEKEY_ENABLE = yes # Mouse keys(+4700b).
Expand Down
2 changes: 1 addition & 1 deletion keyboards/ergodox_ez/keymaps/nathanvercaemert/rules.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Set any rules.mk overrides for your specific keymap here.
# See rules at https://docs.qmk.fm/#/config_options?id=the-rulesmk-file
LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes
COMMAND_ENABLE = no
RGBLIGHT_ENABLE = no
TAP_DANCE_ENABLE=yes
Expand Down
3 changes: 1 addition & 2 deletions keyboards/flx/virgo/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,4 @@ UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
AUDIO_ENABLE = no # Audio output on port C6
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
LINK_TIME_OPTIMIZATION_ENABLE = yes

LTO_ENABLE = yes
2 changes: 1 addition & 1 deletion keyboards/gray_studio/think65/hotswap/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ AUDIO_ENABLE = no # Audio output on port C6
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
HD44780_ENABLE = no # Enable support for HD44780 based LCDs

LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes

LAYOUTS = 65_ansi_blocker

Expand Down
2 changes: 1 addition & 1 deletion keyboards/gray_studio/think65/solder/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ AUDIO_ENABLE = no # Audio output on port C6
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
HD44780_ENABLE = no # Enable support for HD44780 based LCDs

LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes

LAYOUTS = 65_ansi_blocker

Expand Down
2 changes: 1 addition & 1 deletion keyboards/handwired/promethium/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ SRC += rgbsps.c
SRC += analog.c
SRC += matrix.c

LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes
2 changes: 1 addition & 1 deletion keyboards/helix/pico/keymaps/biacco/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
AUDIO_ENABLE = yes # Audio output on port B5
LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option
LTO_ENABLE = no # if firmware size over limit, try this option

# Helix Spacific Build Options
# you can uncomment and edit follows 6 Variables
Expand Down
2 changes: 1 addition & 1 deletion keyboards/helix/pico/keymaps/default/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
EXTRAKEY_ENABLE = yes # Audio control and System control
AUDIO_ENABLE = yes # Audio output on port B5
LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option
LTO_ENABLE = no # if firmware size over limit, try this option

# Helix Spacific Build Options
# you can uncomment and edit follows 6 Variables
Expand Down
2 changes: 1 addition & 1 deletion keyboards/helix/pico/keymaps/mtei/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
AUDIO_ENABLE = yes # Audio output on port B5
LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option
LTO_ENABLE = no # if firmware size over limit, try this option

# Helix Spacific Build Options
# you can uncomment and edit follows 6 Variables
Expand Down
6 changes: 3 additions & 3 deletions keyboards/helix/pico/local_features.mk
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ endif

ifeq ($(strip $(AUDIO_ENABLE)),yes)
ifeq ($(strip $(RGBLIGHT_ENABLE)),yes)
LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes
endif
ifeq ($(strip $(OLED_ENABLE)),yes)
LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes
endif
endif

Expand All @@ -120,7 +120,7 @@ ifneq ($(strip $(SHOW_HELIX_OPTIONS)),)
$(info -- OLED_DRIVER_ENABLE = $(OLED_DRIVER_ENABLE))
$(info -- CONSOLE_ENABLE = $(CONSOLE_ENABLE))
$(info -- OPT_DEFS = $(OPT_DEFS))
$(info -- LINK_TIME_OPTIMIZATION_ENABLE = $(LINK_TIME_OPTIMIZATION_ENABLE))
$(info -- LTO_ENABLE = $(LTO_ENABLE))
$(info )
endif
endif
2 changes: 1 addition & 1 deletion keyboards/helix/rev2/keymaps/default/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# See TOP/keyboards/helix/rules.mk for a list of options that can be set.
# See TOP/docs/config_options.md for more information.
#
LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option
LTO_ENABLE = no # if firmware size over limit, try this option

# Helix Spacific Build Options
# you can uncomment and edit follows 7 Variables
Expand Down
2 changes: 1 addition & 1 deletion keyboards/helix/rev2/keymaps/edvorakjp/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# See TOP/keyboards/helix/rules.mk for a list of options that can be set.
# See TOP/docs/config_options.md for more information.
#
LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option
LTO_ENABLE = no # if firmware size over limit, try this option
TAP_DANCE_ENABLE = yes

# Helix Spacific Build Options
Expand Down
2 changes: 1 addition & 1 deletion keyboards/helix/rev2/keymaps/five_rows/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# yes, no +1500
# yes, yes +3200
# no, yes +400
LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option
LTO_ENABLE = no # if firmware size over limit, try this option

# Helix Spacific Build Options
# you can uncomment and edit follows 7 Variables
Expand Down
2 changes: 1 addition & 1 deletion keyboards/helix/rev2/keymaps/five_rows_jis/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# See TOP/keyboards/helix/rules.mk for a list of options that can be set.
# See TOP/docs/config_options.md for more information.
#
LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option
LTO_ENABLE = no # if firmware size over limit, try this option

# Helix Spacific Build Options
# you can uncomment and edit follows 7 Variables
Expand Down
2 changes: 1 addition & 1 deletion keyboards/helix/rev2/keymaps/froggy/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# See TOP/keyboards/helix/rules.mk for a list of options that can be set.
# See TOP/docs/config_options.md for more information.
#
LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option
LTO_ENABLE = no # if firmware size over limit, try this option

# Helix Spacific Build Options
# you can uncomment and edit follows 7 Variables
Expand Down
2 changes: 1 addition & 1 deletion keyboards/helix/rev2/keymaps/froggy_106/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# See TOP/keyboards/helix/rules.mk for a list of options that can be set.
# See TOP/docs/config_options.md for more information.
#
LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option
LTO_ENABLE = no # if firmware size over limit, try this option

# Helix Spacific Build Options
# you can uncomment and edit follows 7 Variables
Expand Down
2 changes: 1 addition & 1 deletion keyboards/helix/rev2/keymaps/led_test/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# See TOP/keyboards/helix/rules.mk for a list of options that can be set.
# See TOP/docs/config_options.md for more information.
#
LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option
LTO_ENABLE = no # if firmware size over limit, try this option

# Helix Spacific Build Options
# you can uncomment and edit follows 7 Variables
Expand Down
2 changes: 1 addition & 1 deletion keyboards/helix/rev2/keymaps/yshrsmz/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# See TOP/keyboards/helix/rules.mk for a list of options that can be set.
# See TOP/docs/config_options.md for more information.
#
LINK_TIME_OPTIMIZATION_ENABLE = no # if firmware size over limit, try this option
LTO_ENABLE = no # if firmware size over limit, try this option

# Helix Spacific Build Options
# you can uncomment and edit follows 7 Variables
Expand Down
2 changes: 1 addition & 1 deletion keyboards/helix/rev2/local_features.mk
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ ifneq ($(strip $(SHOW_HELIX_OPTIONS)),)
$(info -- OLED_DRIVER_ENABLE = $(OLED_DRIVER_ENABLE))
$(info -- CONSOLE_ENABLE = $(CONSOLE_ENABLE))
$(info -- OPT_DEFS = $(OPT_DEFS))
$(info -- LINK_TIME_OPTIMIZATION_ENABLE = $(LINK_TIME_OPTIMIZATION_ENABLE))
$(info -- LTO_ENABLE = $(LTO_ENABLE))
$(info )
endif
endif
2 changes: 1 addition & 1 deletion keyboards/hineybush/h88/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
AUDIO_ENABLE = no # Audio output on port C6
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes
2 changes: 1 addition & 1 deletion keyboards/hotdox/keymaps/ninjonas/rules.mk
Original file line number Diff line number Diff line change
@@ -1 +1 @@
LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes
2 changes: 1 addition & 1 deletion keyboards/id80/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes
VIA_ENABLE = yes
2 changes: 1 addition & 1 deletion keyboards/kc60/keymaps/noroadsleft/rules.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# https://github.com/qmk/qmk_firmware/issues/3448#issuecomment-406636125
# EXTRAFLAGS += -flto
LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes

MOUSEKEY_ENABLE = no # Mouse keys
# COMMAND_ENABLE = no # Commands for debug and configuration
Expand Down
2 changes: 1 addition & 1 deletion keyboards/keebio/bdn9/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VIA_ENABLE = yes
LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes
MOUSEKEY_ENABLE = yes
CONSOLE_ENABLE = yes
COMMAND_ENABLE = no
2 changes: 1 addition & 1 deletion keyboards/keebio/iris/keymaps/pvinis/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ RGBLIGHT_ENABLE = yes # rgb leds underlight
ENCODER_ENABLE = yes # rotary knob

# Some extra stuff to make firmware smaller.
LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes
CONSOLE_ENABLE = no
COMMAND_ENABLE = no
2 changes: 1 addition & 1 deletion keyboards/keebio/iris/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
VIA_ENABLE = yes
LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes
2 changes: 1 addition & 1 deletion keyboards/keebio/quefrency/keymaps/drashna_ms/rules.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes
RGBLIGHT_ENABLE = yes
EXTRAKEY_ENABLE = yes
AUDIO_ENABLE = yes
Expand Down
2 changes: 1 addition & 1 deletion keyboards/keebio/quefrency/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
VIA_ENABLE = yes
CONSOLE_ENABLE = yes
LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes
4 changes: 2 additions & 2 deletions keyboards/kyria/keymaps/ninjonas/rules.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
OLED_DRIVER_ENABLE = yes # Enables the use of OLED displays
ENCODER_ENABLE = yes # Enables the use of one or more encoders
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes

SRC += oled.c
SRC += oled.c
2 changes: 1 addition & 1 deletion keyboards/kyria/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ AUDIO_ENABLE = no # Audio output on port C6
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
HD44780_ENABLE = no # Enable support for HD44780 based LCDs
SPLIT_KEYBOARD = yes # Split common
LINK_TIME_OPTIMIZATION_ENABLE =yes
LTO_ENABLE = yes

DEFAULT_FOLDER = kyria/rev1
2 changes: 1 addition & 1 deletion keyboards/launchpad/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
VIA_ENABLE = yes
LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes
RGBLIGHT_ENABLE = yes
2 changes: 1 addition & 1 deletion keyboards/lily58/keymaps/ninjonas/rules.mk
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
OLED_DRIVER_ENABLE = yes
LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes
2 changes: 1 addition & 1 deletion keyboards/pinky/3/keymaps/ninjonas/rules.mk
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
MOUSEKEY_ENABLE = no
LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes
2 changes: 1 addition & 1 deletion keyboards/planck/keymaps/oryx/rules.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SRC += muse.c
# Set any rules.mk overrides for your specific keymap here.
# See rules at https://docs.qmk.fm/#/config_options?id=the-rulesmk-file
LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes
COMMAND_ENABLE = no
MOUSEKEY_ENABLE = no
2 changes: 1 addition & 1 deletion keyboards/planck/keymaps/sascha/rules.mk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AUTO_SHIFT_ENABLE = yes
AUTO_SHIFT_MODIFIERS = yes
UNICODE_ENABLE = yes
LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes

ifeq ($(strip $(KEYBOARD)), planck/rev5)
BACKLIGHT_ENABLE = yes
Expand Down
2 changes: 1 addition & 1 deletion keyboards/planck/keymaps/tylerwince/rules.mk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
SRC += muse.c
# Set any rules.mk overrides for your specific keymap here.
# See rules at https://docs.qmk.fm/#/config_options?id=the-rulesmk-file
LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes
COMMAND_ENABLE = no
MOUSEKEY_ENABLE = no
TAP_DANCE_ENABLE=yes
Loading