From 44bcca9319f74698246584497d2100913235db5c Mon Sep 17 00:00:00 2001 From: Hansung Kim Date: Wed, 29 May 2024 16:21:40 -0700 Subject: [PATCH] radiance.mk: Differentiate verilog copy target by CONFIG --- radiance.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radiance.mk b/radiance.mk index 7795ae9..d8392dc 100644 --- a/radiance.mk +++ b/radiance.mk @@ -35,7 +35,7 @@ EXTRA_SIM_PREPROC_DEFINES += \ radpie: cd $(RADPIE_SRC_DIR) && cargo build --release -EXTRA_SIM_REQS += vortex_vsrc +EXTRA_SIM_REQS += vortex_vsrc.$(CONFIG) # doesn't work if we use $(call lookup_srcs) from common.mk, the variable # doesn't expand somehow ifneq ($(shell which fd 2> /dev/null),) @@ -51,7 +51,7 @@ endif # necessary when common.mk does not trigger chipyard jar rebuild upon verilog # source updates, in which case we need to manually ensure the up-to-date-ness # of gen-collateral/. -vortex_vsrc: $(VORTEX_VLOG_SOURCES) +vortex_vsrc.$(CONFIG): $(VORTEX_VLOG_SOURCES) @for file in $(VORTEX_VLOG_SOURCES); do \ filename=$$(basename "$$file"); \ if [ -f $(GEN_COLLATERAL_DIR)/$$filename ]; then \