From dccb8ff7d6e2d73f0592c30e9f8498dcbf17c9e1 Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Sat, 13 Aug 2022 23:23:32 +1000 Subject: Remove old submodules if present (#17930) --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4c2e6a04dc..beaf1132b7 100644 --- a/Makefile +++ b/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' ' ' -- cgit v1.2.3