From af9960c55ee075e59a0117bc1016acfc2891c727 Mon Sep 17 00:00:00 2001 From: "sem24h18 Fabian Hauser (fhauser)" <146116057+fhaus1@users.noreply.github.com> Date: Thu, 7 Nov 2024 09:58:59 +0100 Subject: [PATCH] Script added to .Phony --- cheshire.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cheshire.mk b/cheshire.mk index a61a7725..9a548cc6 100644 --- a/cheshire.mk +++ b/cheshire.mk @@ -81,10 +81,11 @@ include $(CHS_ROOT)/sw/sw.mk $(CHS_ROOT)/hw/regs/cheshire_reg_pkg.sv $(CHS_ROOT)/hw/regs/cheshire_reg_top.sv: $(CHS_ROOT)/hw/regs/cheshire_regs.hjson $(REGTOOL) -r $< --outdir $(dir $@) -# NewUSB registers +# NewUSB registers insert param $(CHS_ROOT)/hw/newusb_regs/newusb_regs.hjson: python $(CHS_ROOT)/hw/newusb_regs/newusb_insert_param.py +# NewUSB registers $(CHS_ROOT)/hw/newusb_regs/newusb_reg_pkg.sv $(CHS_ROOT)/hw/newusb_regs/newusb_reg_top.sv: $(CHS_ROOT)/hw/newusb_regs/newusb_regs.hjson $(REGTOOL) -r $< --outdir $(dir $@) rm -f $(CHS_ROOT)/hw/newusb_regs/newusb_regs.hjson @@ -117,6 +118,7 @@ $(CHS_SLINK_DIR)/.generated: $(CHS_ROOT)/hw/serial_link.hjson cp $< $(dir $@)/src/regs/serial_link_single_channel.hjson flock -x $@ $(MAKE) -C $(CHS_SLINK_DIR) update-regs BENDER="$(BENDER)" && touch $@ +CHS_HW_ALL += $(CHS_ROOT)/hw/newusb_regs/newusb_regs.hjson CHS_HW_ALL += $(CHS_ROOT)/hw/regs/cheshire_reg_pkg.sv $(CHS_ROOT)/hw/regs/cheshire_reg_top.sv CHS_HW_ALL += $(CHS_ROOT)/hw/newusb_regs/newusb_reg_pkg.sv $(CHS_ROOT)/hw/newusb_regs/newusb_reg_top.sv CHS_HW_ALL += $(CLINTROOT)/.generated