Skip to content

Commit

Permalink
Don't build .vo files when EXTERNAL_PERF_DEPENDENCIES=1
Browse files Browse the repository at this point in the history
Fixes #167 (I hope)
  • Loading branch information
JasonGross committed Jan 28, 2025
1 parent ef98e7d commit ca0eed1
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ $$($(1)_PERF_VFILES) : $(PERF_DIR)/$(1)/_%.v : $(PERF_DIR)/Template.v.in
$$(HIDE)mkdir -p $$(dir $$@)
$$(HIDE)sed 's/@EXAMPLE@/$(1)/g; s/@ARGS@/$$(subst _, ,$$*)/g' $$< > $$@

$$($(1)_PERF_LOGS) : %.log : %.v $(PERF_DIR)/$(1).vo
$$($(1)_PERF_LOGS) : %.log : %.v

ifneq ($(EXTERNAL_PERF_DEPENDENCIES),1)
$$($(1)_PERF_LOGS): $(PERF_DIR)/$(1).vo
endif

.PHONY: perf-$(1)
perf-$(1):: $($(1)_PERF_LOGS)
Expand Down

0 comments on commit ca0eed1

Please sign in to comment.