[build] Rename module ninja files to module.<name>.ninja

I was getting sick of tab completion not working for loading the elf
binaries in gdb, so I'm renaming the module ninja files with a prefix.
This commit is contained in:
Justin C. Miller
2022-01-29 16:05:34 -08:00
parent cd037aca15
commit 17ca402aa0
2 changed files with 3 additions and 3 deletions

View File

@@ -85,7 +85,7 @@ class Module:
children |= {m for m in child.depmods if not m in closed}
def generate(self, output):
filename = str(output / f"{self.name}.ninja")
filename = str(output / f"module.{self.name}.ninja")
with open(filename, "w") as buildfile:
from pathlib import Path