Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
cc64ef0f3This file is pinned to the selected release. Download the original to open it in your design tool.
dramsim3_dir :=$(BP_RTL_DIR)/external/basejump_stl/
define submodule_lib_template
$(1)_tag ?= $(addprefix $(1)., $(shell cd $(2); git rev-parse HEAD))
$(BP_RTL_TOUCH_DIR)/$$($(1)_tag):
rm -rf $(BP_RTL_TOUCH_DIR)/$(1).*
+$(MAKE) $(1)_build
touch $(BP_RTL_TOUCH_DIR)/$$($(1)_tag)
$(1): | $(BP_RTL_TOUCH_DIR)/$$($(1)_tag)
$(1)_manual:
+$(MAKE) $(1)_build
endef
dramsim3_build:
$(MAKE) -C $(dramsim3_dir)/bsg_test -f libdramsim3.mk
mv $(dramsim3_dir)/bsg_test/libdramsim3.so $(BP_RTL_LIB_DIR)/
$(eval $(call submodule_lib_template,dramsim3,$(dramsim3_dir)))