Small comment + org. fix | Remove extra mkdirs

This commit is contained in:
abejgonzalez
2021-05-12 16:42:05 -07:00
parent 383d11c2ad
commit 16cdc88c52
3 changed files with 3 additions and 5 deletions

View File

@@ -81,7 +81,6 @@ SIM_FILE_REQS += \
# copy files but ignore *.h files in *.f (match vcs)
$(sim_files): $(SIM_FILE_REQS) | $(build_dir)
mkdir -p $(dir $(sim_files))
cp -f $^ $(build_dir)
$(foreach file,\
$^,\

View File

@@ -39,7 +39,6 @@ SIM_FILE_REQS += \
# copy files but ignore *.h files in *.f since vcs has +incdir+$(build_dir)
$(sim_files): $(SIM_FILE_REQS) | $(build_dir)
mkdir -p $(dir $(sim_files))
cp -f $^ $(build_dir)
$(foreach file,\
$^,\

View File

@@ -46,11 +46,12 @@ debug: $(sim_debug)
#########################################################################################
# simulaton requirements
#########################################################################################
# past emulator.cc and verilator.h, the other files may not be used in the simulation but
# are needed for emulator.cc to compile
SIM_FILE_REQS += \
$(CHIPYARD_RSRCS_DIR)/csrc/emulator.cc \
$(ROCKETCHIP_RSRCS_DIR)/csrc/verilator.h \
# the following files are needed for emulator.cc to compile
SIM_FILE_REQS += \
$(TESTCHIP_RSRCS_DIR)/testchipip/csrc/SimSerial.cc \
$(TESTCHIP_RSRCS_DIR)/testchipip/csrc/testchip_tsi.cc \
$(TESTCHIP_RSRCS_DIR)/testchipip/csrc/testchip_tsi.h \
@@ -66,7 +67,6 @@ SIM_FILE_REQS += \
# copy files and add -FI for *.h files in *.f
$(sim_files): $(SIM_FILE_REQS) | $(build_dir)
mkdir -p $(dir $(sim_files))
cp -f $^ $(build_dir)
$(foreach file,\
$^,\