Skip to content

Commit 2f4d2da

Browse files
committed
make: Remove phony target for snitch cluster config
1 parent 780fe23 commit 2f4d2da

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ SN_GEN_DIR = $(PB_GEN_DIR)
107107
include $(SN_ROOT)/make/common.mk
108108
include $(SN_ROOT)/make/rtl.mk
109109

110+
$(SN_CFG): $(FLOO_CFG)
111+
@sed -i 's/nr_clusters: .*/nr_clusters: $(SN_CLUSTERS),/' $<
112+
110113
.PHONY: sn-hw-clean sn-hw-all
111114

112115
sn-hw-all: $(SN_CLUSTER_WRAPPER) $(SN_CLUSTER_PKG)
@@ -116,9 +119,6 @@ sn-hw-clean:
116119
###########
117120
# FlooNoC #
118121
###########
119-
.PHONY: update-sn-cfg
120-
update-sn-cfg: $(SN_CFG)
121-
@sed -i 's/nr_clusters: .*/nr_clusters: $(SN_CLUSTERS),/' $<
122122

123123
.PHONY: floo-hw-all floo-clean
124124

@@ -174,7 +174,7 @@ PB_HW_ALL += $(CHS_HW_ALL)
174174
PB_HW_ALL += $(CHS_SIM_ALL)
175175
PB_HW_ALL += $(PB_GEN_DIR)/floo_picobello_noc_pkg.sv
176176
PB_HW_ALL += $(PB_RDL_HW_ALL)
177-
PB_HW_ALL += update-sn-cfg
177+
PB_HW_ALL += $(SN_CFG)
178178

179179
.PHONY: picobello-hw-all picobello-clean clean
180180

0 commit comments

Comments
 (0)