File tree 1 file changed +8
-0
lines changed
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
55
55
56
56
if [ ! -d " $AR_COMPS /esp-face" ]; then
57
57
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"
58
62
else
59
63
git -C " $AR_COMPS /esp-face" fetch && \
60
64
git -C " $AR_COMPS /esp-face" pull --ff-only
@@ -91,6 +95,10 @@ if [ $? -ne 0 ]; then exit 1; fi
91
95
92
96
if [ ! -d " $AR_COMPS /esp-dsp" ]; then
93
97
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"
94
102
else
95
103
git -C " $AR_COMPS /esp-dsp" fetch && \
96
104
git -C " $AR_COMPS /esp-dsp" pull --ff-only
You can’t perform that action at this time.
0 commit comments