mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-11 08:58:08 +00:00
66213823ea
some pretty safe & reasonable defaults to speed up SCons: - look at timestamps to figure out whether a file has changed - but only if the timestamp is older than 10 secs (which should avoid any problems with 1s precision of mtime, as well as clock drifts etc) - implicit cache is something to do with parsing C files for dependencies see https://github.com/SCons/scons/wiki/GoFastButton
14 lines
782 B
Python
14 lines
782 B
Python
# pylint: disable=E0602
|
|
Decider('content-timestamp')
|
|
SetOption('max_drift', 10)
|
|
SetOption('implicit_cache', 1)
|
|
|
|
SConscript('SConscript.boardloader', variant_dir='build/boardloader', duplicate=False)
|
|
SConscript('SConscript.bootloader', variant_dir='build/bootloader', duplicate=False)
|
|
SConscript('SConscript.bootloader_ci', variant_dir='build/bootloader_ci', duplicate=False)
|
|
SConscript('SConscript.bootloader_emu', variant_dir='build/bootloader_emu', duplicate=False)
|
|
SConscript('SConscript.firmware', variant_dir='build/firmware', duplicate=False)
|
|
SConscript('SConscript.prodtest', variant_dir='build/prodtest', duplicate=False)
|
|
SConscript('SConscript.reflash', variant_dir='build/reflash', duplicate=False)
|
|
SConscript('SConscript.unix', variant_dir='build/unix', duplicate=False)
|