Migrate 'make git-submodule' to CLI command (#19479)
This commit is contained in:
parent
3a5a4c708f
commit
b297531dbf
5 changed files with 25 additions and 7 deletions
7
Makefile
7
Makefile
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue