From e33f2fcedf889e10332317dfe2b6d531e9bb08bd Mon Sep 17 00:00:00 2001 From: abejgonzalez Date: Tue, 12 Mar 2019 15:39:19 -0700 Subject: [PATCH] find now follows symlinks --- common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.mk b/common.mk index dd1cbd8e..1ff52172 100644 --- a/common.mk +++ b/common.mk @@ -6,7 +6,7 @@ SHELL=/bin/bash ######################################################################################### # variables to get all *.scala files ######################################################################################### -lookup_scala_srcs = $(shell find $(1)/ -iname "*.scala" 2> /dev/null) +lookup_scala_srcs = $(shell find -L $(1)/ -iname "*.scala" 2> /dev/null) PACKAGES=rocket-chip testchipip SCALA_SOURCES=$(foreach pkg,$(PACKAGES),$(call lookup_scala_srcs,$(base_dir)/generators/$(pkg)/src/main/scala)) $(call lookup_scala_srcs,$(base_dir)/src/main/scala)