Skip to content

Commit

Permalink
Use $(EDALIZE_LAUNCHER) envvar when calling xtclsh
Browse files Browse the repository at this point in the history
  • Loading branch information
hipolitoguzman authored and olofk committed Sep 22, 2022
1 parent 1d18ec2 commit 00ea427
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions edalize/ise.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ class Ise(Edatool):
all: $(TOPLEVEL).bit
$(TOPLEVEL).bit: $(NAME)_run.tcl $(NAME).xise
xtclsh $^
$(EDALIZE_LAUNCHER) xtclsh $^
$(NAME).xise: $(NAME).tcl
xtclsh $<
$(EDALIZE_LAUNCHER) xtclsh $<
"""

TCL_RUN_FILE_TEMPLATE = """#Auto generated by Edalize
Expand Down
4 changes: 2 additions & 2 deletions tests/test_ise/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ include config.mk
all: $(TOPLEVEL).bit

$(TOPLEVEL).bit: $(NAME)_run.tcl $(NAME).xise
xtclsh $^
$(EDALIZE_LAUNCHER) xtclsh $^

$(NAME).xise: $(NAME).tcl
xtclsh $<
$(EDALIZE_LAUNCHER) xtclsh $<

0 comments on commit 00ea427

Please sign in to comment.