aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorJames Young <18669334+noroadsleft@users.noreply.github.com>2021-11-04 21:18:09 +0000
committerGitHub <noreply@github.com>2021-11-05 08:18:09 +1100
commit84ea77ead663624a6d8ae451ca3d4318008d9d41 (patch)
tree1c869a8452ab33baebc7ffa24d88200d0087d998 /lib/python
parent4b6db33a1df798c8895f623937aa61233f1516cc (diff)
downloadqmk_firmware-84ea77ead663624a6d8ae451ca3d4318008d9d41.tar.gz
qmk_firmware-84ea77ead663624a6d8ae451ca3d4318008d9d41.zip
Remove `BOOTMAGIC_ENABLE = lite` option (#15002)
* remove BOOTMAGIC_ENABLE=lite setting * change keyboard BOOTMAGIC_ENABLE rules Edits keyboard-level instances of `BOOTMAGIC_ENABLE = lite` to `BOOTMAGIC_ENABLE = yes`. * change keyboard BOOTMAGIC_ENABLE inline comments Edits keyboard-level BOOTMAGIC_ENABLE inline comments to "Enable Bootmagic Lite". * change keymap BOOTMAGIC_ENABLE rules Edits keymap-level instances of `BOOTMAGIC_ENABLE = lite` to `BOOTMAGIC_ENABLE = yes`. * change keymap BOOTMAGIC_ENABLE inline comments Edits/adds keymap-level BOOTMAGIC_ENABLE inline comments to read "Enable Bootmagic Lite". * change layout/user BOOTMAGIC_ENABLE rules/comments Edits instances of `BOOTMAGIC_ENABLE = lite` to `BOOTMAGIC_ENABLE = yes`. Edits/adds keymap-level BOOTMAGIC_ENABLE inline comments to read "Enable Bootmagic Lite". * update non-rules.mk BOOTMAGIC_ENABLE references in keyboards/ * remove docs references to Full Bootmagic * convert data-driven Bootmagic Lite instances * remove Bootmagic Lite bodge from data-driven generation * Merge remote-tracking branch 'upstream/develop' into rm/bootmagic-full_q4a * update docs/ja/config_options.md per mtei * update docs/faq_misc.md per mtei Remove remaining Full Bootmagic reference.
Diffstat (limited to 'lib/python')
-rwxr-xr-xlib/python/qmk/cli/generate/rules_mk.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/python/qmk/cli/generate/rules_mk.py b/lib/python/qmk/cli/generate/rules_mk.py
index dcaff29fa..5d8d7cc8a 100755
--- a/lib/python/qmk/cli/generate/rules_mk.py
+++ b/lib/python/qmk/cli/generate/rules_mk.py
@@ -67,12 +67,9 @@ def generate_rules_mk(cli):
67 # Iterate through features to enable/disable them 67 # Iterate through features to enable/disable them
68 if 'features' in kb_info_json: 68 if 'features' in kb_info_json:
69 for feature, enabled in kb_info_json['features'].items(): 69 for feature, enabled in kb_info_json['features'].items():
70 if feature == 'bootmagic_lite' and enabled: 70 feature = feature.upper()
71 rules_mk_lines.append('BOOTMAGIC_ENABLE ?= lite') 71 enabled = 'yes' if enabled else 'no'
72 else: 72 rules_mk_lines.append(f'{feature}_ENABLE ?= {enabled}')
73 feature = feature.upper()
74 enabled = 'yes' if enabled else 'no'
75 rules_mk_lines.append(f'{feature}_ENABLE ?= {enabled}')
76 73
77 # Set SPLIT_TRANSPORT, if needed 74 # Set SPLIT_TRANSPORT, if needed
78 if kb_info_json.get('split', {}).get('transport', {}).get('protocol') == 'custom': 75 if kb_info_json.get('split', {}).get('transport', {}).get('protocol') == 'custom':