mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-18 21:48:13 +00:00
core: remove raspi makefile target
Raspi build is still available when ENV variable is set, but no need to bloat the Makefile/SConscript file
This commit is contained in:
parent
07ce935725
commit
daf0d77923
@ -108,9 +108,6 @@ build_unix: res ## build unix port
|
||||
build_unix_frozen: res build_cross ## build unix port with frozen modules
|
||||
$(SCONS) CFLAGS="$(CFLAGS)" $(UNIX_BUILD_DIR)/micropython $(UNIX_PORT_OPTS) TREZOR_EMULATOR_FROZEN=1
|
||||
|
||||
build_unix_raspi: res ## build unix port for Raspberry Pi
|
||||
$(SCONS) CFLAGS="$(CFLAGS)" $(UNIX_BUILD_DIR)/micropython $(UNIX_PORT_OPTS) TREZOR_EMULATOR_RASPI=1
|
||||
|
||||
build_cross: ## build mpy-cross port
|
||||
$(MAKE) -C vendor/micropython/mpy-cross $(CROSS_PORT_OPTS)
|
||||
|
||||
|
@ -134,8 +134,6 @@ SOURCE_MOD += [
|
||||
'embed/extmod/modtrezorui/modtrezorui.c',
|
||||
'embed/extmod/modtrezorui/qr-code-generator/qrcodegen.c',
|
||||
]
|
||||
if ARGUMENTS.get('TREZOR_EMULATOR_RASPI', 0):
|
||||
CPPDEFINES_MOD += ['TREZOR_EMULATOR_RASPI']
|
||||
if ARGUMENTS.get('TREZOR_EMULATOR_FROZEN', 0):
|
||||
CPPDEFINES_MOD += ['TREZOR_EMULATOR_FROZEN']
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user