1 parent 6aa7c80 commit bd6622aCopy full SHA for bd6622a
1 file changed
unix/Makefile
@@ -308,11 +308,14 @@ libffi:
308
../configure $(CROSS_COMPILE_HOST) --prefix=$$PWD/out --disable-structs CC="$(CC)" CXX="$(CXX)" LD="$(LD)" CFLAGS="-Os -fomit-frame-pointer -fstrict-aliasing -ffast-math -fno-exceptions"; \
309
make install-exec-recursive; make -C include install-data-am
310
311
-axtls: ../lib/axtls/README
+axtls: $(BUILD)/libaxtls.a
312
+
313
+$(BUILD)/libaxtls.a: ../lib/axtls/README | $(OBJ_DIRS)
314
cd ../lib/axtls; cp config/upyconfig config/.config
315
cd ../lib/axtls; make oldconfig -B
316
cd ../lib/axtls; make clean
317
cd ../lib/axtls; make all CC="$(CC)" LD="$(LD)"
318
+ cp ../lib/axtls/_stage/libaxtls.a $@
319
320
../lib/axtls/README:
321
@echo "You cloned without --recursive, fetching submodules for you."
0 commit comments