diff --git a/edalize/tools/vcs.py b/edalize/tools/vcs.py index e11d2993..0a4da9f3 100644 --- a/edalize/tools/vcs.py +++ b/edalize/tools/vcs.py @@ -144,7 +144,12 @@ def setup(self, edam): i += 1 if has_vlog: depfiles += include_files - libdepfiles = [x+"/AN.DB/make.vlogan" for x in libdeps.get(lib, [])] + libdepfiles = [] + for l in libdeps.get(lib, []): + if files: + libdepfiles.append(l+"/AN.DB/make.vlogan") + else: + print("No files. Skipping") self.commands.add( [cmd] + full64 + ["-f", f_file, "-work", workdir] + fnames, [workdir + "/" + target_file],