py/mkrules.mk: Mute blobless errors.

This mutes usage error for blobless update from older `git` to
reduce noise upon submodule updating.

Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
This commit is contained in:
Yanfeng Liu
2025-07-09 09:12:52 +08:00
committed by Damien George
parent ddf2c3afb1
commit a8d50fb653

View File

@@ -268,7 +268,7 @@ submodules:
$(ECHO) "Updating submodules: $(GIT_SUBMODULES)" $(ECHO) "Updating submodules: $(GIT_SUBMODULES)"
ifneq ($(GIT_SUBMODULES),) ifneq ($(GIT_SUBMODULES),)
$(Q)cd $(TOP) && git submodule sync $(GIT_SUBMODULES) $(Q)cd $(TOP) && git submodule sync $(GIT_SUBMODULES)
$(Q)cd $(TOP) && git submodule update --init --filter=blob:none $(GIT_SUBMODULES) || \ $(Q)cd $(TOP) && git submodule update --init --filter=blob:none $(GIT_SUBMODULES) 2>/dev/null || \
git submodule update --init $(GIT_SUBMODULES) git submodule update --init $(GIT_SUBMODULES)
endif endif
.PHONY: submodules .PHONY: submodules