Skip to content

Commit 5cd6e7f

Browse files
authored
gitmodules: exclude unnecessary submodule cloning for esp32 (project-chip#42007)
- ESP32 has its own clones for mbedtls, FreeRTOS-Kernel, lwip and it uses it sources it from esp-idf sdk. So don't clone it into third_party directory. - ESP32 platform does not require boringssl either. - Also, libtrustymatter is specific to NXP platform, so tagged it with platform nxp.
1 parent d7811ab commit 5cd6e7f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.gitmodules

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
path = third_party/mbedtls/repo
1111
url = https://github.com/ARMmbed/mbedtls.git
1212
branch = mbedtls-2.28
13+
excluded-platforms = esp32
1314
[submodule "qrcode"]
1415
path = examples/common/QRCode/repo
1516
url = https://github.com/nayuki/QR-Code-generator.git
@@ -50,7 +51,7 @@
5051
path = third_party/freertos/repo
5152
url = https://github.com/FreeRTOS/FreeRTOS-Kernel.git
5253
branch = V10.3.1-kernel-only
53-
platforms = ameba,cc13xx_26xx,bouffalolab,esp32,infineon,qpg,cc32xx,realtek
54+
platforms = ameba,cc13xx_26xx,bouffalolab,infineon,qpg,cc32xx,realtek
5455
[submodule "simw-top-mini"]
5556
path = third_party/simw-top-mini/repo
5657
url = https://github.com/NXP/plug-and-trust.git
@@ -204,6 +205,7 @@
204205
path = third_party/boringssl/repo/src
205206
url = https://github.com/google/boringssl.git
206207
branch = master
208+
excluded-platforms = esp32
207209
[submodule "third_party/mt793x_sdk/filogic"]
208210
path = third_party/mt793x_sdk/filogic
209211
url = https://github.com/MediaTek-Labs/genio-matter-bsp.git
@@ -300,7 +302,7 @@
300302
[submodule "third_party/lwip/repo"]
301303
path = third_party/lwip/repo
302304
url = https://github.com/lwip-tcpip/lwip.git
303-
excluded-platforms = darwin
305+
excluded-platforms = darwin,esp32
304306
[submodule "third_party/abseil-cpp/src"]
305307
path = third_party/abseil-cpp/src
306308
url = https://github.com/abseil/abseil-cpp.git
@@ -326,6 +328,7 @@
326328
[submodule "third_party/libtrustymatter/repo"]
327329
path = third_party/libtrustymatter/repo
328330
url = https://github.com/nxp-imx/libtrustymatter
331+
platforms = nxp
329332
[submodule "third_party/amazon-kinesis-video-streams-webrtc-sdk-c/repo"]
330333
path = third_party/amazon-kinesis-video-streams-webrtc-sdk-c/repo
331334
url = https://github.com/awslabs/amazon-kinesis-video-streams-webrtc-sdk-c

0 commit comments

Comments
 (0)