Merge pull request #1246 from ucb-bar/fdfix

This commit is contained in:
Jerry Zhao
2022-10-08 11:07:26 -07:00
committed by GitHub

View File

@@ -68,7 +68,7 @@ include $(base_dir)/tools/torture.mk
ifeq ($(shell which fd 2> /dev/null),) ifeq ($(shell which fd 2> /dev/null),)
lookup_srcs = $(shell find -L $(1)/ -name target -prune -o \( -iname "*.$(2)" ! -iname ".*" \) -print 2> /dev/null) lookup_srcs = $(shell find -L $(1)/ -name target -prune -o \( -iname "*.$(2)" ! -iname ".*" \) -print 2> /dev/null)
else else
lookup_srcs = $(shell fd -L ".*\.$(2)" $(1)) lookup_srcs = $(shell fd -L -t f -e $(2) . $(1))
endif endif
SOURCE_DIRS = $(addprefix $(base_dir)/,generators sims/firesim/sim tools/barstools fpga/fpga-shells fpga/src) SOURCE_DIRS = $(addprefix $(base_dir)/,generators sims/firesim/sim tools/barstools fpga/fpga-shells fpga/src)