Merge pull request #1357 from ucb-bar/fpga-makefile-fix

fpga makefile clean fix
This commit is contained in:
joonho hwangbo
2023-02-22 22:54:31 -08:00
committed by GitHub

View File

@@ -90,12 +90,10 @@ fpga_common_script_dir := $(fpga_dir)/common/tcl
#########################################################################################
# setup misc. sim files
#########################################################################################
SIM_FILE_REQS += \
$(ROCKETCHIP_RSRCS_DIR)/vsrc/EICG_wrapper.v
# copy files but ignore *.h files in *.f (match vcs)
$(sim_files): $(SIM_FILE_REQS) $(ALL_MODS_FILELIST) | $(GEN_COLLATERAL_DIR)
cp -f $(SIM_FILE_REQS) $(GEN_COLLATERAL_DIR)
-cp -f $(SIM_FILE_REQS) $(GEN_COLLATERAL_DIR)
touch $@
$(foreach file,\
$(SIM_FILE_REQS),\
$(if $(filter %.h,$(file)),\