unix: Add support for building axtls dependency lib.

This commit is contained in:
Paul Sokolovsky 2015-09-19 17:12:02 +03:00
parent 90a36942b4
commit 326ff54649
1 changed files with 7 additions and 1 deletions

View File

@ -200,9 +200,15 @@ else
CROSS_COMPILE_HOST =
endif
deplibs: libffi
deplibs: libffi axtls
libffi:
cd ../lib/libffi; git clean -d -x -f
cd ../lib/libffi; ./autogen.sh
cd ../lib/libffi; ./configure $(CROSS_COMPILE_HOST) --prefix=$$PWD/out CC="$(CC)" CXX="$(CXX)" LD="$(LD)"; make install
axtls:
cd ../lib/axtls; cp config/upyconfig config/.config
cd ../lib/axtls; make oldconfig -B
cd ../lib/axtls; make clean
cd ../lib/axtls; make all CC="$(CC)" LD="$(LD)"