libffi: add support to build before toolchain is built

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-11-04 11:33:09 +01:00
parent 3d75e56f7f
commit 83f518bff1
2 changed files with 5 additions and 1 deletions

View File

@ -27,10 +27,14 @@ $SCRIPTS/unpack libffi
setup_toolchain host
cd $BUILD/libffi-*
do_autoreconf
mkdir -p .build-host && cd .build-host
../configure --host=$HOST_NAME \
--build=$HOST_NAME \
--prefix=$ROOT/$TOOLCHAIN \
--includedir=$ROOT/$TOOLCHAIN/include \
--sysconfdir=/etc \
--disable-static \
--enable-shared \

View File

@ -26,7 +26,7 @@ PKG_LICENSE="GPL"
PKG_SITE="http://sourceware.org/$PKG_NAME/"
PKG_URL=""
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain"
PKG_BUILD_DEPENDS="ccache autotools"
PKG_PRIORITY="optional"
PKG_SECTION="devel"
PKG_SHORTDESC="Foreign Function Interface Library"