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
parent
c32b4b02f3
commit
2c2be2f38a
|
@ -62,7 +62,9 @@ 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; \
|
||||||
fi;
|
else \
|
||||||
|
rm -f reference.dcp; \
|
||||||
|
fi;
|
||||||
|
|
||||||
$(PROJECT_NAME).sdk/system_top.hdf: $(M_DEPS)
|
$(PROJECT_NAME).sdk/system_top.hdf: $(M_DEPS)
|
||||||
-rm -rf $(CLEAN_TARGET)
|
-rm -rf $(CLEAN_TARGET)
|
||||||
|
|
Loading…
Reference in New Issue