mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-22 14:28:07 +00:00
build(core): move argument parsing together
[no changelog]
This commit is contained in:
parent
cf38460286
commit
e8f8d0e7af
@ -12,6 +12,9 @@ HW_REVISION ='emulator'
|
|||||||
THP = ARGUMENTS.get('THP', '0') == '1' # Trezor-Host Protocol
|
THP = ARGUMENTS.get('THP', '0') == '1' # Trezor-Host Protocol
|
||||||
NEW_RENDERING = ARGUMENTS.get('NEW_RENDERING', '1') == '1'
|
NEW_RENDERING = ARGUMENTS.get('NEW_RENDERING', '1') == '1'
|
||||||
BENCHMARK = ARGUMENTS.get('BENCHMARK', '0') == '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"]
|
FEATURES_WANTED = ["input", "sd_card", "dma2d", "optiga", "sbu"]
|
||||||
@ -45,10 +48,6 @@ SOURCE_MOD = [
|
|||||||
SOURCE_MOD_CRYPTO = []
|
SOURCE_MOD_CRYPTO = []
|
||||||
RUST_UI_FEATURES = []
|
RUST_UI_FEATURES = []
|
||||||
|
|
||||||
PYOPT = ARGUMENTS.get('PYOPT', '1')
|
|
||||||
FROZEN = ARGUMENTS.get('TREZOR_EMULATOR_FROZEN', 0)
|
|
||||||
RASPI = os.getenv('TREZOR_EMULATOR_RASPI') == '1'
|
|
||||||
|
|
||||||
# modtrezorconfig
|
# modtrezorconfig
|
||||||
CPPPATH_MOD += [
|
CPPPATH_MOD += [
|
||||||
'embed/extmod/modtrezorconfig',
|
'embed/extmod/modtrezorconfig',
|
||||||
|
Loading…
Reference in New Issue
Block a user