mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-17 19:00:58 +00:00
build(core): SCons "go fast" button
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
This commit is contained in:
parent
1c244648c5
commit
66213823ea
@ -1,4 +1,7 @@
|
||||
# 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)
|
||||
|
Loading…
Reference in New Issue
Block a user