mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-26 09:28:13 +00:00
fix(core): re-enable passing of TREZOR_EMULATOR_RASPI flag
to re-enable build of Emulator for Raspberry Pi with a display
related to commit daf0d77
which removed the functionality from the makefile
but we missed that there is now no way how to pass the flag to emit the #define
[no changelog]
This commit is contained in:
parent
18c8304339
commit
a411a964e1
@ -21,6 +21,7 @@ SOURCE_MOD = [
|
||||
|
||||
PYOPT = ARGUMENTS.get('PYOPT', '1')
|
||||
FROZEN = ARGUMENTS.get('TREZOR_EMULATOR_FROZEN', 0)
|
||||
RASPI = os.getenv('TREZOR_EMULATOR_RASPI') == '1'
|
||||
|
||||
# modtrezorconfig
|
||||
CPPPATH_MOD += [
|
||||
@ -188,6 +189,8 @@ if UI2:
|
||||
]
|
||||
if FROZEN:
|
||||
CPPDEFINES_MOD += ['TREZOR_EMULATOR_FROZEN']
|
||||
if RASPI:
|
||||
CPPDEFINES_MOD += ['TREZOR_EMULATOR_RASPI']
|
||||
|
||||
# modtrezorutils
|
||||
SOURCE_MOD += [
|
||||
|
Loading…
Reference in New Issue
Block a user