Remove old submodules if present (#17930)
This commit is contained in:
parent
b881778f53
commit
dccb8ff7d6
2 changed files with 15 additions and 0 deletions
6
Makefile
6
Makefile
|
@ -428,9 +428,15 @@ 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
|
||||
git submodule sync --recursive
|
||||
git submodule update --init --recursive --progress
|
||||
|
||||
.PHONY: git-submodules
|
||||
git-submodules: git-submodule
|
||||
|
||||
.PHONY: list-keyboards
|
||||
list-keyboards:
|
||||
util/list_keyboards.sh | sort -u | tr '\n' ' '
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue