summaryrefslogtreecommitdiffstats
path: root/lib/python/qmk/cli/generate/rules_mk.py
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-02-27 12:40:01 +0000
committerQMK Bot <hello@qmk.fm>2022-02-27 12:40:01 +0000
commit3c7c9bdd8614cd332b4db7ab6d05429d513ba11d (patch)
tree81ca3c2dc35766e7f456e607a0caeb279a3ca695 /lib/python/qmk/cli/generate/rules_mk.py
parent48f06ae6463f1199c059c05f617304952f6dd110 (diff)
parent779c7debcfff1a4a3ad578a0c12bdd50cba11039 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'lib/python/qmk/cli/generate/rules_mk.py')
-rwxr-xr-xlib/python/qmk/cli/generate/rules_mk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/cli/generate/rules_mk.py b/lib/python/qmk/cli/generate/rules_mk.py
index 5d8d7cc8a7..ce824f6378 100755
--- a/lib/python/qmk/cli/generate/rules_mk.py
+++ b/lib/python/qmk/cli/generate/rules_mk.py
@@ -29,7 +29,7 @@ def process_mapping_rule(kb_info_json, rules_key, info_dict):
if key_type in ['array', 'list']:
return f'{rules_key} ?= {" ".join(rules_value)}'
elif key_type == 'bool':
- return f'{rules_key} ?= {"on" if rules_value else "off"}'
+ return f'{rules_key} ?= {"yes" if rules_value else "no"}'
elif key_type == 'mapping':
return '\n'.join([f'{key} ?= {value}' for key, value in rules_value.items()])