summaryrefslogtreecommitdiff
path: root/lib/python/qmk
diff options
context:
space:
mode:
authorZach White <skullydazed@gmail.com>2021-03-18 16:10:40 -0700
committerGitHub <noreply@github.com>2021-03-18 16:10:40 -0700
commitf2715a05939b749771d9826f9ad23b4cab280e82 (patch)
tree90a776e94206f0f18be3b3399b7d72ca2ec01897 /lib/python/qmk
parent90b1e271a8178d68e8c1be0beecfb26b42767f5f (diff)
downloadqmk_firmware-f2715a05939b749771d9826f9ad23b4cab280e82.tar.gz
qmk_firmware-f2715a05939b749771d9826f9ad23b4cab280e82.zip
Consistently use bin/qmk when that script is called (#12286)
* Pass QMK_BIN down to build_keyboard.mk * choose the correct qmk script
Diffstat (limited to 'lib/python/qmk')
-rw-r--r--lib/python/qmk/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/commands.py b/lib/python/qmk/commands.py
index ac98376958..4809365af3 100644
--- a/lib/python/qmk/commands.py
+++ b/lib/python/qmk/commands.py
@@ -180,7 +180,7 @@ def compile_configurator_json(user_keymap, bootloader=None, parallel=1, **env_va
f'VERBOSE={verbose}',
f'COLOR={color}',
'SILENT=false',
- 'QMK_BIN=qmk',
+ f'QMK_BIN={"bin/qmk" if "DEPRECATED_BIN_QMK" in os.environ else "qmk"}',
])
return make_command