Skip to content

Commit

Permalink
Add OPENRAM_TMP back to macro Makefiles to save results.
Browse files Browse the repository at this point in the history
  • Loading branch information
mguthaus committed Jul 18, 2023
1 parent 3ef61a2 commit 54c2710
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions macros/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ sram: $(WORKING_SRAM_STAMPS)
%.ok: sram_configs/%.py
@echo "Building $*"
@mkdir -p $*
@python3 -u $(SRAM_COMPILER) $(OPENRAM_OPTS) -o $* -p $(MACRO_DIR)/$* $(MACRO_DIR)/$< && touch $@
@OPENRAM_TMP=$*/tmp python3 -u $(SRAM_COMPILER) $(OPENRAM_OPTS) -o $* -p $(MACRO_DIR)/$* $(MACRO_DIR)/$< && touch $@

%.ok: rom_configs/%.py
@echo "Building $*"
@mkdir -p $*
@python3 -u $(ROM_COMPILER) $(OPENRAM_OPTS) -o $* -p $(MACRO_DIR)/$* $(MACRO_DIR)/$< && touch $@
@OPENRAM_TMP=$*/tmp python3 -u $(ROM_COMPILER) $(OPENRAM_OPTS) -o $* -p $(MACRO_DIR)/$* $(MACRO_DIR)/$< && touch $@

.DELETE_ON_ERROR: $(WORKING_SRAM_STAMPS) $(WORKING_ROM_STAMPS)

Expand Down

0 comments on commit 54c2710

Please sign in to comment.