Add OPENRAM_TMP back to macro Makefiles to save results.

This commit is contained in:
mrg 2023-07-18 15:45:15 -07:00
parent 3ef61a298f
commit 54c2710aea
1 changed files with 2 additions and 2 deletions

View File

@ -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)