vlsi/Makefile: truncate file SRAM_GENERATOR_CONF
previously the target would append, not truncate the file, which could lead to duplicate yaml entries in that file when the target was re-run.
This commit is contained in:
@@ -100,7 +100,7 @@ $(SMEMS_HAMMER): $(TOP_SMEMS_FILE)
|
|||||||
|
|
||||||
$(SRAM_GENERATOR_CONF): $(SMEMS_HAMMER)
|
$(SRAM_GENERATOR_CONF): $(SMEMS_HAMMER)
|
||||||
mkdir -p $(dir $@)
|
mkdir -p $(dir $@)
|
||||||
echo "vlsi.inputs.sram_parameters: '$(SMEMS_HAMMER)'" >> $@
|
echo "vlsi.inputs.sram_parameters: '$(SMEMS_HAMMER)'" > $@
|
||||||
echo "vlsi.inputs.sram_parameters_meta: [\"transclude\", \"json2list\"]" >> $@
|
echo "vlsi.inputs.sram_parameters_meta: [\"transclude\", \"json2list\"]" >> $@
|
||||||
|
|
||||||
$(SRAM_CONF): $(SRAM_GENERATOR_CONF)
|
$(SRAM_CONF): $(SRAM_GENERATOR_CONF)
|
||||||
|
|||||||
Reference in New Issue
Block a user