浏览代码

fpga/Makefile: fix ordering rule for power estimator

H. Peter Anvin 2 年之前
父节点
当前提交
3347303ea5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      fpga/Makefile

+ 1 - 1
fpga/Makefile

@@ -136,7 +136,7 @@ $(outdir)/%.sof: $(outdir)/%.mif_update.rpt
 $(outdir)/%.sta.rpt: $(outdir)/%.fit.rpt | $(outdir)/%.sof
 	$(QSTA) $(PROJECT) -c $*
 
-$(outdir)/%.pow.rpt: $(outdir)/%.sta.rpt
+$(outdir)/%.pow.rpt: $(outdir)/%.sta.rpt | $(outdir)/%.sof
 	$(QPOW) $(PROJECT) -c $*
 
 $(foreach rev,$(REVISIONS),$(outdir)/$(rev).%.cof): %.cof.xml $(outdir)