Skip to content

Commit baab852

Browse files
tridgeandyp1per
authored andcommitted
waf: make ccache effective for ChibiOS builds
the specs were preventing cacheing
1 parent 3038c70 commit baab852

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tools/ardupilotwaf/chibios.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -670,6 +670,8 @@ def pre_build(bld):
670670

671671
def build(bld):
672672

673+
# make ccache effective on ChibiOS builds
674+
os.environ['CCACHE_IGNOREOPTIONS'] = '--specs=nano.specs --specs=nosys.specs'
673675

674676
hwdef_rule="%s '%s/hwdef/scripts/chibios_hwdef.py' -D '%s' --params '%s' '%s'" % (
675677
bld.env.get_flat('PYTHON'),

0 commit comments

Comments
 (0)