Depend on build_dir

This commit is contained in:
abejgonzalez
2021-05-06 20:36:28 -07:00
parent eb85415783
commit a0de9a0cfb
3 changed files with 5 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ SIM_FILE_REQS += \
$(ROCKETCHIP_RSRCS_DIR)/csrc/remote_bitbang.cc
# copy files and add -FI for *.h files in *.f
$(sim_files): $(SIM_FILE_REQS)
$(sim_files): $(SIM_FILE_REQS) | $(build_dir)
mkdir -p $(dir $(sim_files))
cp -f $^ $(build_dir)
$(foreach file,\