summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-08-19 01:56:48 +0100
committerGitHub <noreply@github.com>2022-08-19 01:56:48 +0100
commit3c745caf6113cfe8778cf9c11edbc0217c34e236 (patch)
treee0dded246de0cf4dcfb4e3293a6d043710c8c8af /lib
parent9550cc464cd0579071cf490b6f3c9d151d336bd9 (diff)
downloadqmk_firmware-3c745caf6113cfe8778cf9c11edbc0217c34e236.tar.gz
qmk_firmware-3c745caf6113cfe8778cf9c11edbc0217c34e236.zip
Remove legacy bootmagic cli parsing (#18099)
Diffstat (limited to 'lib')
-rw-r--r--lib/python/qmk/info.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/python/qmk/info.py b/lib/python/qmk/info.py
index 7ed636d0f9..c95b55916c 100644
--- a/lib/python/qmk/info.py
+++ b/lib/python/qmk/info.py
@@ -110,14 +110,7 @@ def info_json(keyboard):
def _extract_features(info_data, rules):
"""Find all the features enabled in rules.mk.
"""
- # Special handling for bootmagic which also supports a "lite" mode.
- if rules.get('BOOTMAGIC_ENABLE') == 'lite':
- rules['BOOTMAGIC_LITE_ENABLE'] = 'on'
- del rules['BOOTMAGIC_ENABLE']
- if rules.get('BOOTMAGIC_ENABLE') == 'full':
- rules['BOOTMAGIC_ENABLE'] = 'on'
-
- # Process the rest of the rules as booleans
+ # Process booleans rules
for key, value in rules.items():
if key.endswith('_ENABLE'):
key = '_'.join(key.split('_')[:-1]).lower()