Add userspace for json builds

This commit is contained in:
Nick Brassel 2023-09-07 15:29:49 +10:00
parent 7521a1181b
commit dc86e605dd
No known key found for this signature in database

View File

@ -197,6 +197,9 @@ def compile_configurator_json(user_keymap, bootloader=None, parallel=1, clean=Fa
'QMK_BIN="qmk"', 'QMK_BIN="qmk"',
]) ])
if HAS_QMK_USERSPACE:
make_command.append(f'QMK_USERSPACE={Path(QMK_USERSPACE).resolve()}')
for key, value in env_vars.items(): for key, value in env_vars.items():
make_command.append(f'{key}={value}') make_command.append(f'{key}={value}')