1
0
Fork 0

Migrate 'make git-submodule' to CLI command (#19479)

This commit is contained in:
Joel Challis 2023-01-02 22:11:57 +00:00 committed by GitHub
parent 3a5a4c708f
commit b297531dbf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 25 additions and 7 deletions

View file

@ -430,12 +430,7 @@ lib/%:
.PHONY: git-submodule
git-submodule:
[ -e lib/ugfx ] && rm -rf lib/ugfx || true
[ -e lib/pico-sdk ] && rm -rf lib/pico-sdk || true
[ -e lib/chibios-contrib/ext/mcux-sdk ] && rm -rf lib/chibios-contrib/ext/mcux-sdk || true
[ -e lib/lvgl ] && rm -rf lib/lvgl || true
git submodule sync --recursive
git submodule update --init --recursive --progress
$(QMK_BIN) git-submodule
.PHONY: git-submodules
git-submodules: git-submodule