Skip to content
Snippets Groups Projects
Unverified Commit e5539a57 authored by Daniel Mangum's avatar Daniel Mangum
Browse files

Add submodules target to main makefile


Adds a submodules convenience target to main makefile. Submodules must
be initialized before other targets can run successfully.

Signed-off-by: default avatarhasheddan <georgedanielmangum@gmail.com>
parent 9529e095
No related branches found
No related tags found
No related merge requests found
...@@ -51,7 +51,7 @@ WEAKEN_SYMBOLS=\ ...@@ -51,7 +51,7 @@ WEAKEN_SYMBOLS=\
-W __umodti3 \ -W __umodti3 \
-W __rust_probestack -W __rust_probestack
.PHONY: all clean fmt install install-headers libs test .PHONY: all clean fmt install install-headers libs submodules test
all: | libs all: | libs
...@@ -96,6 +96,10 @@ install-libs: libs ...@@ -96,6 +96,10 @@ install-libs: libs
install: install-headers install-libs install: install-headers install-libs
submodules:
git submodule sync
git submodule update --init --recursive
sysroot: all sysroot: all
rm -rf $@ rm -rf $@
rm -rf $@.partial rm -rf $@.partial
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment