Skip to content

Commit

Permalink
Append user variables to the end of make command (qmk#20177)
Browse files Browse the repository at this point in the history
  • Loading branch information
filterpaper authored and coquizen committed Jun 22, 2023
1 parent 079d406 commit b33e2e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/python/qmk/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]}',
Expand All @@ -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


Expand Down

0 comments on commit b33e2e8

Please sign in to comment.