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:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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'" >> $@
|
||||
|
||||
Reference in New Issue
Block a user