mirror of
https://github.com/micropython/micropython.git
synced 2025-07-21 13:01:10 +02:00
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:
committed by
Damien George
parent
ddf2c3afb1
commit
a8d50fb653
@@ -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
|
||||||
|
Reference in New Issue
Block a user