aboutsummaryrefslogtreecommitdiff
path: root/keyboards/gboards
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-03-30 10:43:15 +0000
committerGitHub <[email protected]>2024-03-30 10:43:15 +0000
commit426bb9c651a292dce6ae01e7ed9d41d94dbba99f (patch)
treefbee5244f85aada3c7c17d52cd3dace080f7e06f /keyboards/gboards
parent86e7df0c2a75baa00238f5350a912d5a4f8b622d (diff)
downloadqmk_firmware-426bb9c651a292dce6ae01e7ed9d41d94dbba99f.tar.gz
qmk_firmware-426bb9c651a292dce6ae01e7ed9d41d94dbba99f.zip
Migrate features and LTO from rules.mk to data driven (#23302)
Diffstat (limited to 'keyboards/gboards')
-rw-r--r--keyboards/gboards/butterstick/keyboard.json (renamed from keyboards/gboards/butterstick/info.json)11
-rw-r--r--keyboards/gboards/butterstick/rules.mk9
2 files changed, 11 insertions, 9 deletions
diff --git a/keyboards/gboards/butterstick/info.json b/keyboards/gboards/butterstick/keyboard.json
index 1695ca0e23..59d703925b 100644
--- a/keyboards/gboards/butterstick/info.json
+++ b/keyboards/gboards/butterstick/keyboard.json
@@ -9,6 +9,17 @@
"device_version": "0.0.1",
"force_nkro": true
},
+ "build": {
+ "lto": true
+ },
+ "features": {
+ "bootmagic": false,
+ "command": false,
+ "console": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true
+ },
"matrix_pins": {
"cols": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "C6", "C7"],
"rows": ["F4", "F5"]
diff --git a/keyboards/gboards/butterstick/rules.mk b/keyboards/gboards/butterstick/rules.mk
deleted file mode 100644
index b4de1a5393..0000000000
--- a/keyboards/gboards/butterstick/rules.mk
+++ /dev/null
@@ -1,9 +0,0 @@
-# Build Options
-# change yes to no to disable
-#
-MOUSEKEY_ENABLE = yes # Mouse keys
-EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = yes # Console for debug
-COMMAND_ENABLE = no # Commands for debug and configuration
-NKRO_ENABLE = yes # Enable N-Key Rollover
-LTO_ENABLE = yes