Fix include_dirs variable support for Vsim-like tools

parent cae14d15
......@@ -94,8 +94,11 @@ class VsimMakefileWriter(ToolSim):
""" % (name, src, shell.copy_command())
return rule
fileset = self.fileset
# self.writeln("INCLUDE_DIRS := +incdir+%s" %
# ('+'.join(top_module.include_dirs)))
if self.manifest_dict.get("include_dirs") == None:
self.writeln("INCLUDE_DIRS :=")
else:
self.writeln("INCLUDE_DIRS := +incdir+%s" %
('+'.join(self.manifest_dict.get("include_dirs"))))
libs = set(f.library for f in fileset)
self.write('LIBS := ')
self.write(' '.join(libs))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment