From 5921a5b6204d04d21961e99dfa70bd919f686164 Mon Sep 17 00:00:00 2001 From: gatecat Date: Tue, 1 Jun 2021 21:03:33 +0100 Subject: Allow gzip to overwrite Signed-off-by: gatecat --- ice40/regressions/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ice40/regressions/Makefile b/ice40/regressions/Makefile index 2e961fe..8793053 100644 --- a/ice40/regressions/Makefile +++ b/ice40/regressions/Makefile @@ -20,7 +20,7 @@ ifeq ($(wildcard $(NPNR)),) endif %.json: %.json.gz - gzip -dk $< + gzip -fdk $< $(JSON_OUTPUT): %_postpnr.v: %.json $(wildcard %.pcf) $(wildcard %.npnr) $(NPNR) $(NPNR) --json $*.json --asc $*.asc $(if $(wildcard $*.pcf),--pcf $*.pcf,) $(if $(wildcard $*.npnr),$(shell cat $*.npnr),) > /dev/null 2>&1 || test -f $(dir $*)WAIVE @@ -31,7 +31,7 @@ $(JSON_OUTPUT): %_postpnr.v: %.json $(wildcard %.pcf) $(wildcard %.npnr) $(NPNR) fi $(SH_OUTPUT): %_postpnr.v: %.sh $(NPNR) - gzip -dk $*.json.gz + gzip -fdk $*.json.gz cd $(dir $@) && NPNR=$(NPNR) bash $(notdir $*.sh) > /dev/null 2>&1 if [ -f "$*.asc" ]; then \ icebox_vlog $*.asc > $@; \ -- cgit v1.2.3