summaryrefslogtreecommitdiff
path: root/lib/python/qmk
diff options
context:
space:
mode:
authorAlbert Y <76888457+filterpaper@users.noreply.github.com>2023-04-03 13:20:39 +0800
committerGitHub <noreply@github.com>2023-04-03 15:20:39 +1000
commit47a51fda5dea81775ade0c936aeccc1ed6ebc53a (patch)
treec4f0ea3c611b32a257bcfeb6f64db210b4ad58ca /lib/python/qmk
parentbc77e79ed8d985184753ca9fc0c45b366c0da321 (diff)
Append user variables to the end of make command (#20177)
Diffstat (limited to 'lib/python/qmk')
-rw-r--r--lib/python/qmk/commands.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/python/qmk/commands.py b/lib/python/qmk/commands.py
index f5eac4bf0e..b1eac13957 100644
--- a/lib/python/qmk/commands.py
+++ b/lib/python/qmk/commands.py
@@ -178,9 +178,6 @@ def compile_configurator_json(user_keymap, bootloader=None, parallel=1, clean=Fa
if bootloader:
make_command.append(bootloader)
- for key, value in env_vars.items():
- make_command.append(f'{key}={value}')
-
make_command.extend([
f'KEYBOARD={user_keymap["keyboard"]}',
f'KEYMAP={user_keymap["keymap"]}',
@@ -201,6 +198,9 @@ def compile_configurator_json(user_keymap, bootloader=None, parallel=1, clean=Fa
'QMK_BIN="qmk"',
])
+ for key, value in env_vars.items():
+ make_command.append(f'{key}={value}')
+
return make_command