diff options
author | Joel Challis <git@zvecr.com> | 2024-03-30 10:43:15 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-30 10:43:15 +0000 |
commit | 426bb9c651a292dce6ae01e7ed9d41d94dbba99f (patch) | |
tree | fbee5244f85aada3c7c17d52cd3dace080f7e06f /keyboards/mt | |
parent | 86e7df0c2a75baa00238f5350a912d5a4f8b622d (diff) |
Migrate features and LTO from rules.mk to data driven (#23302)
Diffstat (limited to 'keyboards/mt')
-rw-r--r-- | keyboards/mt/mt64rgb/keyboard.json (renamed from keyboards/mt/mt64rgb/info.json) | 13 | ||||
-rw-r--r-- | keyboards/mt/mt64rgb/rules.mk | 16 | ||||
-rw-r--r-- | keyboards/mt/mt84/keyboard.json (renamed from keyboards/mt/mt84/info.json) | 13 | ||||
-rw-r--r-- | keyboards/mt/mt84/rules.mk | 14 |
4 files changed, 26 insertions, 30 deletions
diff --git a/keyboards/mt/mt64rgb/info.json b/keyboards/mt/mt64rgb/keyboard.json index b311502eef..5dbcf30969 100644 --- a/keyboards/mt/mt64rgb/info.json +++ b/keyboards/mt/mt64rgb/keyboard.json @@ -64,6 +64,19 @@ "led_process_limit": 20, "max_brightness": 160 }, + "build": { + "lto": true + }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true, + "rgblight": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0", "B1", "B2", "B3", "B7"], "rows": ["D7", "D6", "D5", "D3", "D2"] diff --git a/keyboards/mt/mt64rgb/rules.mk b/keyboards/mt/mt64rgb/rules.mk deleted file mode 100644 index f72e92e8a8..0000000000 --- a/keyboards/mt/mt64rgb/rules.mk +++ /dev/null @@ -1,16 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -RGB_MATRIX_ENABLE = yes # Use RGB matrix - -AUDIO_ENABLE = no # Audio output - -LTO_ENABLE = yes diff --git a/keyboards/mt/mt84/info.json b/keyboards/mt/mt84/keyboard.json index 7b41b09b57..8833f77ed9 100644 --- a/keyboards/mt/mt84/info.json +++ b/keyboards/mt/mt84/keyboard.json @@ -61,6 +61,19 @@ "led_process_limit": 20, "max_brightness": 200 }, + "build": { + "lto": true + }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true, + "rgb_matrix": true + }, "matrix_pins": { "cols": ["B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0", "B1", "B2", "B3", "B7", "E6"], "rows": ["D7", "D6", "D5", "D3", "D2", "D4"] diff --git a/keyboards/mt/mt84/rules.mk b/keyboards/mt/mt84/rules.mk deleted file mode 100644 index 03f1dd8986..0000000000 --- a/keyboards/mt/mt84/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGB_MATRIX_ENABLE = yes # Use RGB Matrix -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -LTO_ENABLE = yes |