scripts: patch incremental compile

Clear the reference checkpoint if the incremental compilation is not
selected through the make option. Other case the scripts will silently
use the reference.dcp checkpoint if that exists.
main
Laszlo Nagy 2019-04-22 16:15:44 +01:00 committed by Laszlo Nagy
parent c32b4b02f3
commit 2c2be2f38a
1 changed files with 3 additions and 1 deletions

View File

@ -62,6 +62,8 @@ prepare_incremental_compile:
if [ -f ./reference.dcp ]; then \ if [ -f ./reference.dcp ]; then \
echo Using reference checkpoint for incremental compilation; \ echo Using reference checkpoint for incremental compilation; \
fi; \ fi; \
else \
rm -f reference.dcp; \
fi; fi;
$(PROJECT_NAME).sdk/system_top.hdf: $(M_DEPS) $(PROJECT_NAME).sdk/system_top.hdf: $(M_DEPS)