Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.obj/
compile_commands.json
.ninja_log

3 changes: 2 additions & 1 deletion build/ab.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,7 @@ def generate(xs):


def filenameof(x):
x = targetof(x)
xs = filenamesof(x.outs)
assert (
len(xs) == 1
Expand Down Expand Up @@ -611,7 +612,7 @@ def emit_rule(self, ins, outs, cmds=[], label=None):
emit("build", *fouts, ":rule", *fins)
emit(
" command=",
"&&".join([s.strip() for s in rule]).replace("$", "$$"),
" && ".join([s.strip() for s in rule]).replace("$", "$$"),
)
if label:
emit(" description=", label)
Expand Down
2 changes: 1 addition & 1 deletion plat/cpm/emu/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"util/amisc+aslod",
".+bdos_out",
],
outs=["bdos.img"],
outs=["=bdos.img"],
commands=["$[ins] $[outs]"],
)

Expand Down
Loading