Merge pull request #1348 from ucb-bar/vlsi-makefile-fix-1

Fix VLSI input files list emission to avoid bash "too many arguments" error
This commit is contained in:
Sagar Karandikar
2023-02-15 20:51:01 -08:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -122,7 +122,7 @@ $(SYN_CONF): $(VLSI_RTL)
echo "synthesis.inputs:" >> $@
echo " top_module: $(VLSI_TOP)" >> $@
echo " input_files:" >> $@
for x in $(shell cat $(VLSI_RTL)); do \
for x in $$(cat $(VLSI_RTL)); do \
echo ' - "'$$x'"' >> $@; \
done

View File

@@ -30,7 +30,7 @@ $(POWER_RTL_CONF): $(VLSI_RTL)
echo "power.inputs:" >> $@
echo " level: rtl" >> $@
echo " input_files:" >> $@
for x in $(shell cat $(VLSI_RTL)); do \
for x in $$(cat $(VLSI_RTL)); do \
echo ' - "'$$x'"' >> $@; \
done

View File

@@ -10,7 +10,7 @@ $(SIM_CONF): $(sim_common_files)
echo " top_module: $(VLSI_TOP)" >> $@
echo " tb_name: ''" >> $@ # don't specify -top
echo " input_files:" >> $@
for x in $(shell cat $(sim_common_files)); do \
for x in $$(cat $(sim_common_files)); do \
echo ' - "'$$x'"' >> $@; \
done
echo " input_files_meta: 'append'" >> $@