From 8621d33c5c1c859a6645f8be6201952ccccb645e Mon Sep 17 00:00:00 2001 From: Albert Y <76888457+filterpaper@users.noreply.github.com> Date: Sat, 18 Mar 2023 10:32:34 +0800 Subject: [PATCH] Append user env after json make command --- lib/python/qmk/commands.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/python/qmk/commands.py b/lib/python/qmk/commands.py index 5561a354c5cc..851e576829ac 100644 --- a/lib/python/qmk/commands.py +++ b/lib/python/qmk/commands.py @@ -175,9 +175,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"]}', @@ -198,6 +195,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