diff options
| author | Ryan <fauxpark@gmail.com> | 2021-09-28 03:50:06 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-28 03:50:06 +1000 |
| commit | ae993dc068b18f87174a8e313d84fcf88281147f (patch) | |
| tree | 303ae77fcf36aad4ceeee3e2fc99c16345e5d3cf | |
| parent | e8b7cee9d321d24467fe408f2915cc69a44bcc4d (diff) | |
| download | qmk_firmware-ae993dc068b18f87174a8e313d84fcf88281147f.tar.gz qmk_firmware-ae993dc068b18f87174a8e313d84fcf88281147f.zip | |
Zinc: Clean up LTO rules (#14597)
| -rw-r--r-- | keyboards/zinc/keymaps/default/rules.mk | 6 | ||||
| -rw-r--r-- | keyboards/zinc/keymaps/ginjake/rules.mk | 6 | ||||
| -rw-r--r-- | keyboards/zinc/keymaps/monks/rules.mk | 6 | ||||
| -rw-r--r-- | keyboards/zinc/keymaps/toshi0383/rules.mk | 6 |
4 files changed, 4 insertions, 20 deletions
diff --git a/keyboards/zinc/keymaps/default/rules.mk b/keyboards/zinc/keymaps/default/rules.mk index 883f0fc60..5cdd1c81a 100644 --- a/keyboards/zinc/keymaps/default/rules.mk +++ b/keyboards/zinc/keymaps/default/rules.mk | |||
| @@ -14,6 +14,7 @@ AUDIO_ENABLE = no # Audio output | |||
| 14 | UNICODE_ENABLE = no # Unicode | 14 | UNICODE_ENABLE = no # Unicode |
| 15 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. | 15 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. |
| 16 | SWAP_HANDS_ENABLE = no # Enable one-hand typing | 16 | SWAP_HANDS_ENABLE = no # Enable one-hand typing |
| 17 | LTO_ENABLE = no # if firmware size over limit, try this option | ||
| 17 | 18 | ||
| 18 | define ZINC_CUSTOMISE_MSG | 19 | define ZINC_CUSTOMISE_MSG |
| 19 | $(info Zinc customize) | 20 | $(info Zinc customize) |
| @@ -35,7 +36,6 @@ RGB_MATRIX = no # RGB LED Matrix | |||
| 35 | RGB_MATRIX_SPLIT_RIGHT = no # RGB Matrix for RIGHT Hand | 36 | RGB_MATRIX_SPLIT_RIGHT = no # RGB Matrix for RIGHT Hand |
| 36 | LED_ANIMATIONS = yes # LED animations | 37 | LED_ANIMATIONS = yes # LED animations |
| 37 | IOS_DEVICE_ENABLE = no # connect to IOS device (iPad,iPhone) | 38 | IOS_DEVICE_ENABLE = no # connect to IOS device (iPad,iPhone) |
| 38 | Link_Time_Optimization = no # if firmware size over limit, try this option | ||
| 39 | 39 | ||
| 40 | #### LED_BACK_ENABLE and LED_UNDERGLOW_ENABLE. | 40 | #### LED_BACK_ENABLE and LED_UNDERGLOW_ENABLE. |
| 41 | #### Do not enable these with audio at the same time. | 41 | #### Do not enable these with audio at the same time. |
| @@ -121,10 +121,6 @@ ifeq ($(strip $(RGB_MATRIX_SPLIT_RIGHT)), yes) | |||
| 121 | OPT_DEFS += -DRGB_MATRIX_SPLIT_RIGHT | 121 | OPT_DEFS += -DRGB_MATRIX_SPLIT_RIGHT |
| 122 | endif | 122 | endif |
| 123 | 123 | ||
| 124 | ifeq ($(strip $(Link_Time_Optimization)),yes) | ||
| 125 | EXTRAFLAGS += -flto -DUSE_Link_Time_Optimization | ||
| 126 | endif | ||
| 127 | |||
| 128 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | 124 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE |
| 129 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 125 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 130 | 126 | ||
diff --git a/keyboards/zinc/keymaps/ginjake/rules.mk b/keyboards/zinc/keymaps/ginjake/rules.mk index 63e5227ef..f2cb3633c 100644 --- a/keyboards/zinc/keymaps/ginjake/rules.mk +++ b/keyboards/zinc/keymaps/ginjake/rules.mk | |||
| @@ -15,6 +15,7 @@ UNICODE_ENABLE = no # Unicode | |||
| 15 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 15 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID |
| 16 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. | 16 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. |
| 17 | SWAP_HANDS_ENABLE = no # Enable one-hand typing | 17 | SWAP_HANDS_ENABLE = no # Enable one-hand typing |
| 18 | LTO_ENABLE = no # if firmware size over limit, try this option | ||
| 18 | 19 | ||
| 19 | define ZINC_CUSTOMISE_MSG | 20 | define ZINC_CUSTOMISE_MSG |
| 20 | $(info Zinc customize) | 21 | $(info Zinc customize) |
| @@ -33,7 +34,6 @@ LED_BOTH_ENABLE = no # LED backlight and underglow | |||
| 33 | LED_RGB_CONT = no # LED continuous backlight or/and underglow between left Zinc and right Zinc | 34 | LED_RGB_CONT = no # LED continuous backlight or/and underglow between left Zinc and right Zinc |
| 34 | LED_ANIMATIONS = yes # LED animations | 35 | LED_ANIMATIONS = yes # LED animations |
| 35 | IOS_DEVICE_ENABLE = no # connect to IOS device (iPad,iPhone) | 36 | IOS_DEVICE_ENABLE = no # connect to IOS device (iPad,iPhone) |
| 36 | Link_Time_Optimization = no # if firmware size over limit, try this option | ||
| 37 | 37 | ||
| 38 | #### LED_BACK_ENABLE and LED_UNDERGLOW_ENABLE. | 38 | #### LED_BACK_ENABLE and LED_UNDERGLOW_ENABLE. |
| 39 | #### Do not enable these with audio at the same time. | 39 | #### Do not enable these with audio at the same time. |
| @@ -104,10 +104,6 @@ ifeq ($(strip $(LED_ANIMATIONS)), yes) | |||
| 104 | 104 | ||
| 105 | endif | 105 | endif |
| 106 | 106 | ||
| 107 | ifeq ($(strip $(Link_Time_Optimization)),yes) | ||
| 108 | EXTRAFLAGS += -flto -DUSE_Link_Time_Optimization | ||
| 109 | endif | ||
| 110 | |||
| 111 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | 107 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE |
| 112 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 108 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 113 | 109 | ||
diff --git a/keyboards/zinc/keymaps/monks/rules.mk b/keyboards/zinc/keymaps/monks/rules.mk index d8ec4497e..46646f919 100644 --- a/keyboards/zinc/keymaps/monks/rules.mk +++ b/keyboards/zinc/keymaps/monks/rules.mk | |||
| @@ -15,6 +15,7 @@ UNICODE_ENABLE = no # Unicode | |||
| 15 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 15 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID |
| 16 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. | 16 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. |
| 17 | SWAP_HANDS_ENABLE = no # Enable one-hand typing | 17 | SWAP_HANDS_ENABLE = no # Enable one-hand typing |
| 18 | LTO_ENABLE = no # if firmware size over limit, try this option | ||
| 18 | 19 | ||
| 19 | define ZINC_CUSTOMISE_MSG | 20 | define ZINC_CUSTOMISE_MSG |
| 20 | $(info Zinc customize) | 21 | $(info Zinc customize) |
| @@ -33,7 +34,6 @@ LED_BOTH_ENABLE = no # LED backlight and underglow | |||
| 33 | LED_RGB_CONT = no # LED continuous backlight or/and underglow between left Zinc and right Zinc | 34 | LED_RGB_CONT = no # LED continuous backlight or/and underglow between left Zinc and right Zinc |
| 34 | LED_ANIMATIONS = yes # LED animations | 35 | LED_ANIMATIONS = yes # LED animations |
| 35 | IOS_DEVICE_ENABLE = no # connect to IOS device (iPad,iPhone) | 36 | IOS_DEVICE_ENABLE = no # connect to IOS device (iPad,iPhone) |
| 36 | Link_Time_Optimization = no # if firmware size over limit, try this option | ||
| 37 | 37 | ||
| 38 | #### LED_BACK_ENABLE and LED_UNDERGLOW_ENABLE. | 38 | #### LED_BACK_ENABLE and LED_UNDERGLOW_ENABLE. |
| 39 | #### Do not enable these with audio at the same time. | 39 | #### Do not enable these with audio at the same time. |
| @@ -104,10 +104,6 @@ ifeq ($(strip $(LED_ANIMATIONS)), yes) | |||
| 104 | 104 | ||
| 105 | endif | 105 | endif |
| 106 | 106 | ||
| 107 | ifeq ($(strip $(Link_Time_Optimization)),yes) | ||
| 108 | EXTRAFLAGS += -flto -DUSE_Link_Time_Optimization | ||
| 109 | endif | ||
| 110 | |||
| 111 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | 107 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE |
| 112 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 108 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 113 | 109 | ||
diff --git a/keyboards/zinc/keymaps/toshi0383/rules.mk b/keyboards/zinc/keymaps/toshi0383/rules.mk index 7860cbd01..9fef6963a 100644 --- a/keyboards/zinc/keymaps/toshi0383/rules.mk +++ b/keyboards/zinc/keymaps/toshi0383/rules.mk | |||
| @@ -15,6 +15,7 @@ UNICODE_ENABLE = no # Unicode | |||
| 15 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 15 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID |
| 16 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. | 16 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. |
| 17 | SWAP_HANDS_ENABLE = no # Enable one-hand typing | 17 | SWAP_HANDS_ENABLE = no # Enable one-hand typing |
| 18 | LTO_ENABLE = no # if firmware size over limit, try this option | ||
| 18 | 19 | ||
| 19 | define ZINC_CUSTOMISE_MSG | 20 | define ZINC_CUSTOMISE_MSG |
| 20 | $(info Zinc customize) | 21 | $(info Zinc customize) |
| @@ -36,7 +37,6 @@ RGB_MATRIX = no # RGB LED Matrix | |||
| 36 | RGB_MATRIX_SPLIT_RIGHT = no # RGB Matrix for RIGHT Hand | 37 | RGB_MATRIX_SPLIT_RIGHT = no # RGB Matrix for RIGHT Hand |
| 37 | LED_ANIMATIONS = yes # LED animations | 38 | LED_ANIMATIONS = yes # LED animations |
| 38 | IOS_DEVICE_ENABLE = no # connect to IOS device (iPad,iPhone) | 39 | IOS_DEVICE_ENABLE = no # connect to IOS device (iPad,iPhone) |
| 39 | Link_Time_Optimization = no # if firmware size over limit, try this option | ||
| 40 | 40 | ||
| 41 | #### LED_BACK_ENABLE and LED_UNDERGLOW_ENABLE. | 41 | #### LED_BACK_ENABLE and LED_UNDERGLOW_ENABLE. |
| 42 | #### Do not enable these with audio at the same time. | 42 | #### Do not enable these with audio at the same time. |
| @@ -122,10 +122,6 @@ ifeq ($(strip $(RGB_MATRIX_SPLIT_RIGHT)), yes) | |||
| 122 | OPT_DEFS += -DRGB_MATRIX_SPLIT_RIGHT | 122 | OPT_DEFS += -DRGB_MATRIX_SPLIT_RIGHT |
| 123 | endif | 123 | endif |
| 124 | 124 | ||
| 125 | ifeq ($(strip $(Link_Time_Optimization)),yes) | ||
| 126 | EXTRAFLAGS += -flto -DUSE_Link_Time_Optimization | ||
| 127 | endif | ||
| 128 | |||
| 129 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | 125 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE |
| 130 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 126 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 131 | 127 | ||
