Skip to content

Commit

Permalink
Makefile: Use abspaths to fix no rule to make target errors
Browse files Browse the repository at this point in the history
  • Loading branch information
colluca committed Aug 29, 2024
1 parent 3696377 commit 7034975
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions target/sim/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -462,15 +462,15 @@ clean-sw: clean-headers
$(MAKE) -C sw/ clean

# REGGEN headers
$(PLATFORM_HEADERS_DIR)/clint.h: src/clint/clint.hjson
$(PLATFORM_HEADERS_DIR)/clint.h: $(TARGET_CLINT_DIR)/clint.hjson
$(call reggen_generate_header,$@,$<)
$(PLATFORM_HEADERS_DIR)/occamy_soc_ctrl.h: src/soc_ctrl/occamy_soc_reg.hjson
$(PLATFORM_HEADERS_DIR)/occamy_soc_ctrl.h: $(TARGET_SOCCTRL_DIR)/occamy_soc_reg.hjson
$(call reggen_generate_header,$@,$<)
$(PLATFORM_HEADERS_DIR)/snitch_cluster_peripheral.h: $(SNITCH_ROOT)/hw/snitch_cluster/src/snitch_cluster_peripheral/snitch_cluster_peripheral_reg.hjson
$(call reggen_generate_header,$@,$<)
$(PLATFORM_HEADERS_DIR)/snitch_quad_peripheral.h: src/quadrant_s1_ctrl/occamy_quadrant_s1_reg.hjson
$(PLATFORM_HEADERS_DIR)/snitch_quad_peripheral.h: $(TARGET_QUADCTRL_DIR)/occamy_quadrant_s1_reg.hjson
$(call reggen_generate_header,$@,$<)
$(PLATFORM_HEADERS_DIR)/snitch_hbm_xbar_peripheral.h: src/hbm_xbar_ctrl/occamy_hbm_xbar_reg.hjson
$(PLATFORM_HEADERS_DIR)/snitch_hbm_xbar_peripheral.h: $(TARGET_HBMCTRL_DIR)/occamy_hbm_xbar_reg.hjson
$(call reggen_generate_header,$@,$<)

# OCCAMYGEN headers
Expand Down

0 comments on commit 7034975

Please sign in to comment.