File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -158,6 +158,7 @@ actions:
158158 (
159159 cd build/{{ $board.platform }}_ptool
160160 conf="${QCOM_PTOOL}/platforms/{{ $board.platform }}/partitions.conf"
161+ contents="${QCOM_PTOOL}/platforms/{{ $board.platform }}/contents.xml.in"
161162 disk_type="unknown"
162163 # make a copy of partitions.conf; infer storage type from lines
163164 # like:
@@ -220,6 +221,12 @@ actions:
220221 # generate ptool-partitions.xml from partitions.conf
221222 " ${QCOM_PTOOL}/gen_partition.py" -i partitions.conf \
222223 -o ptool-partitions.xml
224+ # generate contents.xml from ptool-partitions.xml and contents.xml.in
225+ if [ -e "$contents" ]; then
226+ " ${QCOM_PTOOL}/gen_contents.py" -p ptool-partitions.xml \
227+ -t "$contents" \
228+ -o contents.xml
229+ fi
223230 # generate flashing files from qcom-partitions.xml
224231 " ${QCOM_PTOOL}/ptool.py" -x ptool-partitions.xml
225232 )
You can’t perform that action at this time.
0 commit comments