Skip to content

Commit

Permalink
build(core): move argument parsing together
Browse files Browse the repository at this point in the history
[no changelog]
  • Loading branch information
onvej-sl committed Oct 10, 2024
1 parent f160af4 commit aa8b8a0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions core/SConscript.unix
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ HW_REVISION ='emulator'
THP = ARGUMENTS.get('THP', '0') == '1' # Trezor-Host Protocol
NEW_RENDERING = ARGUMENTS.get('NEW_RENDERING', '1') == '1'
BENCHMARK = ARGUMENTS.get('BENCHMARK', '0') == '1'
PYOPT = ARGUMENTS.get('PYOPT', '1')
FROZEN = ARGUMENTS.get('TREZOR_EMULATOR_FROZEN', 0)
RASPI = os.getenv('TREZOR_EMULATOR_RASPI') == '1'


FEATURES_WANTED = ["input", "sd_card", "dma2d", "optiga", "sbu"]
Expand Down Expand Up @@ -45,10 +48,6 @@ SOURCE_MOD = [
SOURCE_MOD_CRYPTO = []
RUST_UI_FEATURES = []

PYOPT = ARGUMENTS.get('PYOPT', '1')
FROZEN = ARGUMENTS.get('TREZOR_EMULATOR_FROZEN', 0)
RASPI = os.getenv('TREZOR_EMULATOR_RASPI') == '1'

# modtrezorconfig
CPPPATH_MOD += [
'embed/extmod/modtrezorconfig',
Expand Down

0 comments on commit aa8b8a0

Please sign in to comment.