Skip to content
Snippets Groups Projects
Commit 4889b6ff authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

unix/Makefile: "make axtls": Automatically fetch submodules if missing.

Try to emulate "you can build without reading instructions" behavior as far
as possible.
parent e66b3042
No related branches found
No related tags found
No related merge requests found
...@@ -302,8 +302,12 @@ libffi: ...@@ -302,8 +302,12 @@ libffi:
../configure $(CROSS_COMPILE_HOST) --prefix=$$PWD/out CC="$(CC)" CXX="$(CXX)" LD="$(LD)"; \ ../configure $(CROSS_COMPILE_HOST) --prefix=$$PWD/out CC="$(CC)" CXX="$(CXX)" LD="$(LD)"; \
make install-exec-recursive; make -C include install-data-am make install-exec-recursive; make -C include install-data-am
axtls: axtls: ../lib/axtls/README
cd ../lib/axtls; cp config/upyconfig config/.config cd ../lib/axtls; cp config/upyconfig config/.config
cd ../lib/axtls; make oldconfig -B cd ../lib/axtls; make oldconfig -B
cd ../lib/axtls; make clean cd ../lib/axtls; make clean
cd ../lib/axtls; make all CC="$(CC)" LD="$(LD)" cd ../lib/axtls; make all CC="$(CC)" LD="$(LD)"
../lib/axtls/README:
@echo "You cloned without --recursive, fetching submodules for you."
(cd ..; git submodule update --init --recursive)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment