diff --git a/edalize/tools/icarus.py b/edalize/tools/icarus.py index bc9553b3e..5db0fbda7 100644 --- a/edalize/tools/icarus.py +++ b/edalize/tools/icarus.py @@ -116,8 +116,7 @@ def setup(self, edam): self.scr_file = scr_file def write_config_files(self): - f = os.path.join(self.work_root, self.name + ".scr") - self.update_config_file(f, self.scr_file.getvalue()) + self.update_config_file(self.name + ".scr", self.scr_file.getvalue()) def run(self): args = ["run"]