Skip to content

Commit e99a4a2

Browse files
committed
docker: Update Broadcom submodule handling
Refactor the handling of the Broadcom firmware submodule to ensure it is synchronized and updated correctly. This change improves the reliability of the build process for the Broadcom platform. Signed-off-by: Chiho Sin <[email protected]>
1 parent 2e0c036 commit e99a4a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Containerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ ARG BUILD_PLATFORM
4545

4646
# Broadcom
4747
RUN if [ "${BUILD_PLATFORM}" = "broadcom" ]; then \
48-
git -C ports/broadcom/firmware fetch --all --tags; \
48+
git submodule sync --recursive; \
49+
git submodule update --init --recursive --filter=tree:0 ports/broadcom/firmware; \
4950
fi
5051

5152
RUN if [ "${BUILD_PLATFORM}" != "zephyr-cp" ]; then \

0 commit comments

Comments
 (0)