Skip to content
Snippets Groups Projects
Commit fcc0bd97 authored by Paweł Szostek's avatar Paweł Szostek
Browse files

Fix generate_fetch_makefile method

parent d2be068b
No related merge requests found
...@@ -192,12 +192,11 @@ class ActionRunner(object): ...@@ -192,12 +192,11 @@ class ActionRunner(object):
f.close() f.close()
def generate_fetch_makefile(): def generate_fetch_makefile(self):
from depend import MakefileWriter from depend import MakefileWriter
tm = global_mod.top_module pool = self.modules_pool
pool = global_mod.modules_pool
if not pool.is_everything_fetched(): if not pool.is_everything_fetched():
p.echo("A module remains unfetched. Fetching must be done prior to makefile generation") p.echo("A module remains unfetched. Fetching must be done prior to makefile generation")
quit() quit()
make_writer = MakefileWriter() make_writer = MakefileWriter()
make_writer.generate_fetch_makefile(tm) make_writer.generate_fetch_makefile(pool)
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