mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 14:37:59 +00:00
libffi: add support to build before toolchain is built
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
3d75e56f7f
commit
83f518bff1
@ -27,10 +27,14 @@ $SCRIPTS/unpack libffi
|
|||||||
setup_toolchain host
|
setup_toolchain host
|
||||||
|
|
||||||
cd $BUILD/libffi-*
|
cd $BUILD/libffi-*
|
||||||
|
|
||||||
|
do_autoreconf
|
||||||
|
|
||||||
mkdir -p .build-host && cd .build-host
|
mkdir -p .build-host && cd .build-host
|
||||||
../configure --host=$HOST_NAME \
|
../configure --host=$HOST_NAME \
|
||||||
--build=$HOST_NAME \
|
--build=$HOST_NAME \
|
||||||
--prefix=$ROOT/$TOOLCHAIN \
|
--prefix=$ROOT/$TOOLCHAIN \
|
||||||
|
--includedir=$ROOT/$TOOLCHAIN/include \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
|
@ -26,7 +26,7 @@ PKG_LICENSE="GPL"
|
|||||||
PKG_SITE="http://sourceware.org/$PKG_NAME/"
|
PKG_SITE="http://sourceware.org/$PKG_NAME/"
|
||||||
PKG_URL=""
|
PKG_URL=""
|
||||||
PKG_DEPENDS=""
|
PKG_DEPENDS=""
|
||||||
PKG_BUILD_DEPENDS="toolchain"
|
PKG_BUILD_DEPENDS="ccache autotools"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="devel"
|
PKG_SECTION="devel"
|
||||||
PKG_SHORTDESC="Foreign Function Interface Library"
|
PKG_SHORTDESC="Foreign Function Interface Library"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user