File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,10 @@ if [ $? -ne 0 ]; then exit 1; fi
5555
5656if [ ! -d " $AR_COMPS /esp-face" ]; then
5757 git clone $FACE_REPO_URL " $AR_COMPS /esp-face"
58+ cml=` cat " $AR_COMPS /esp-face/CMakeLists.txt" `
59+ echo " if(IDF_TARGET STREQUAL \" esp32\" OR IDF_TARGET STREQUAL \" esp32s2\" OR IDF_TARGET STREQUAL \" esp32s3\" )" > " $AR_COMPS /esp-face/CMakeLists.txt"
60+ echo " $cml " >> " $AR_COMPS /esp-face/CMakeLists.txt"
61+ echo " endif()" >> " $AR_COMPS /esp-face/CMakeLists.txt"
5862else
5963 git -C " $AR_COMPS /esp-face" fetch && \
6064 git -C " $AR_COMPS /esp-face" pull --ff-only
@@ -91,6 +95,10 @@ if [ $? -ne 0 ]; then exit 1; fi
9195
9296if [ ! -d " $AR_COMPS /esp-dsp" ]; then
9397 git clone $DSP_REPO_URL " $AR_COMPS /esp-dsp"
98+ cml=` cat " $AR_COMPS /esp-dsp/CMakeLists.txt" `
99+ echo " if(IDF_TARGET STREQUAL \" esp32\" OR IDF_TARGET STREQUAL \" esp32s2\" OR IDF_TARGET STREQUAL \" esp32s3\" )" > " $AR_COMPS /esp-dsp/CMakeLists.txt"
100+ echo " $cml " >> " $AR_COMPS /esp-dsp/CMakeLists.txt"
101+ echo " endif()" >> " $AR_COMPS /esp-dsp/CMakeLists.txt"
94102else
95103 git -C " $AR_COMPS /esp-dsp" fetch && \
96104 git -C " $AR_COMPS /esp-dsp" pull --ff-only
You can’t perform that action at this time.
0 commit comments