From b4e0e6ceb0c3c9c3d650bfa769b22c57372bb454 Mon Sep 17 00:00:00 2001 From: Graham Edgecombe Date: Wed, 6 Dec 2017 08:36:51 +0000 Subject: [PATCH] Store icebox_stat output in top.stat This also takes a long time to generate. --- .gitignore | 1 + Makefile | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 12bf94d..a4085aa 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ *.hex *.o *.rpt +*.stat /pll.sv !.git* !.mailmap diff --git a/Makefile b/Makefile index c446fde..fabff2c 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,7 @@ ASC_SYN = $(TOP)_syn.asc ASC = $(TOP).asc BIN = $(TOP).bin TIME_RPT = $(TOP).rpt +STAT = $(TOP).stat SPEED = hx DEVICE = 8k PACKAGE = ct256 @@ -55,8 +56,11 @@ $(BIN): $(ASC) $(TIME_RPT) time: $(TIME_RPT) cat $< -stat: $(ASC_SYN) - icebox_stat $< +$(STAT): $(ASC_SYN) + icebox_stat $< > $@ + +stat: $(STAT) + cat $< flash: $(BIN) iceprog -S $<