Skip to content

Commit 9642f4f

Browse files
committed
Modularize chipyard
1 parent d89548d commit 9642f4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ include $(base_dir)/tools/torture.mk
9292
# Returns a list of files in directories $1 with single file extension $2.
9393
# If available, use 'fd' to find the list of files, which is faster than 'find'.
9494
ifeq ($(shell which fd 2> /dev/null),)
95-
lookup_srcs = $(shell find -L $(1)/ -name target -prune -o \( -iname "*.$(2)" ! -iname ".*" \) -print 2> /dev/null)
95+
lookup_srcs = $(shell find -L $(1)/ -name target -prune -o \( ! -xtype l -a -iname "*.$(2)" ! -iname ".*" \) -print 2> /dev/null)
9696
else
9797
lookup_srcs = $(shell fd -L -t f -e $(2) . $(1))
9898
endif

0 commit comments

Comments
 (0)