File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ VERSION_libffi=${VERSION_libffi:- 3.1}
4+ URL_libffi=https://github.com/atgreen/libffi/archive/v$VERSION_libffi .tar.gz
5+ # DEPS_libffi=(python)
6+ MD5_libffi=663d72841855334ff65b16d8d5decfe5
7+ BUILD_libffi=$BUILD_PATH /libffi/$( get_directory $URL_libffi )
8+ RECIPE_libffi=$RECIPES_PATH /libffi
9+
10+ function prebuild_libffi() {
11+ true
12+ }
13+
14+ function shouldbuild_libffi() {
15+ if [ -f $BUILD_libffi /build/lib/libffi.la ]; then
16+ DO_BUILD=0
17+ fi
18+ }
19+
20+ function build_libffi() {
21+ cd $BUILD_libffi
22+
23+ push_arm
24+ export GREP_OPTIONS=' '
25+ try ./autogen.sh
26+ try ./configure --build=i686-pc-linux-gnu --host=arm-linux-eabi --prefix=$BUILD_libffi /build/
27+ try make install
28+ pop_arm
29+ }
30+
31+ function postbuild_libffi() {
32+ true
33+ }
You can’t perform that action at this time.
0 commit comments