Skip to content

Commit 5921a5b

Browse files
committed
Allow gzip to overwrite
Signed-off-by: gatecat <gatecat@ds0.me>
1 parent caf7261 commit 5921a5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ice40/regressions/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ifeq ($(wildcard $(NPNR)),)
2020
endif
2121

2222
%.json: %.json.gz
23-
gzip -dk $<
23+
gzip -fdk $<
2424

2525
$(JSON_OUTPUT): %_postpnr.v: %.json $(wildcard %.pcf) $(wildcard %.npnr) $(NPNR)
2626
$(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)
3131
fi
3232

3333
$(SH_OUTPUT): %_postpnr.v: %.sh $(NPNR)
34-
gzip -dk $*.json.gz
34+
gzip -fdk $*.json.gz
3535
cd $(dir $@) && NPNR=$(NPNR) bash $(notdir $*.sh) > /dev/null 2>&1
3636
if [ -f "$*.asc" ]; then \
3737
icebox_vlog $*.asc > $@; \

0 commit comments

Comments
 (0)