summaryrefslogtreecommitdiff
path: root/keyboards/smoll
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-03-30 10:57:30 +0000
committerGitHub <noreply@github.com>2024-03-30 10:57:30 +0000
commit1c8e99ca451a9f0acac07b64da80cf11baedf6a6 (patch)
treef03b67de13a64e7029c01da6755cced32ddb65d3 /keyboards/smoll
parent426bb9c651a292dce6ae01e7ed9d41d94dbba99f (diff)
Migrate features and LTO from rules.mk to data driven (#23307)
Diffstat (limited to 'keyboards/smoll')
-rw-r--r--keyboards/smoll/lefty/info.json12
-rw-r--r--keyboards/smoll/lefty/rules.mk16
2 files changed, 12 insertions, 16 deletions
diff --git a/keyboards/smoll/lefty/info.json b/keyboards/smoll/lefty/info.json
index c7113e4c26..28fa865888 100644
--- a/keyboards/smoll/lefty/info.json
+++ b/keyboards/smoll/lefty/info.json
@@ -3,6 +3,18 @@
"manufacturer": "SmollChungus",
"url": "https://github.com/smollchungus",
"maintainer": "smollchungus",
+ "build": {
+ "lto": true
+ },
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "extrakey": true,
+ "mousekey": false,
+ "nkro": false,
+ "oled": true
+ },
"usb": {
"vid": "0x5363",
"pid": "0x0001",
diff --git a/keyboards/smoll/lefty/rules.mk b/keyboards/smoll/lefty/rules.mk
index d8d08e502c..6bc5abbdc5 100644
--- a/keyboards/smoll/lefty/rules.mk
+++ b/keyboards/smoll/lefty/rules.mk
@@ -1,17 +1 @@
-# 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 = no # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-LTO_ENABLE = yes
-
-OLED_ENABLE = yes
-
DEFAULT_FOLDER = smoll/lefty/rev2