mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-20 14:39:22 +00:00
build(core): fix TREZOR_EMULATOR_DEBUGGABLE
[no changelog]
This commit is contained in:
parent
36829cfa8f
commit
4cf917c7cb
@ -668,9 +668,13 @@ protobuf_blobs = env.Command(
|
||||
)
|
||||
env.Depends(protobuf_blobs, qstr_generated)
|
||||
|
||||
RUST_PROFILE = 'dev' if ARGUMENTS.get('TREZOR_EMULATOR_DEBUGGABLE', 0) == '1' else 'release'
|
||||
if ARGUMENTS.get('TREZOR_EMULATOR_DEBUGGABLE', '0') == '1':
|
||||
RUST_PROFILE = 'dev'
|
||||
RUST_LIBDIR = 'build/unix/rust/debug'
|
||||
else:
|
||||
RUST_PROFILE = 'release'
|
||||
RUST_LIBDIR = 'build/unix/rust/release'
|
||||
RUST_LIB = 'trezor_lib'
|
||||
RUST_LIBDIR = f'build/unix/rust/{RUST_PROFILE}'
|
||||
RUST_LIBPATH = f'{RUST_LIBDIR}/lib{RUST_LIB}.a'
|
||||
|
||||
def cargo_build():
|
||||
|
Loading…
Reference in New Issue
Block a user