mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
libtool: split to host and target build
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
50a2052b58
commit
0066b11652
22
packages/devel/libtool/build
Executable file
22
packages/devel/libtool/build
Executable file
@ -0,0 +1,22 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options $1
|
||||
|
||||
cd $PKG_BUILD
|
||||
|
||||
mkdir -p .objdir-target
|
||||
cd .objdir-target
|
||||
|
||||
../configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--datadir=/usr/share \
|
||||
--localstatedir=/var \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--enable-ltdl-install \
|
||||
|
||||
make
|
||||
|
||||
$MAKEINSTALL
|
6
packages/devel/libtool/install
Executable file
6
packages/devel/libtool/install
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -P $PKG_BUILD/.objdir-target/libltdl/.libs/*.so* $INSTALL/usr/lib
|
@ -3,7 +3,7 @@
|
||||
. config/options $1
|
||||
|
||||
$SCRIPTS/build m4
|
||||
$SCRIPTS/build libtool
|
||||
$SCRIPTS/build libtool-host
|
||||
|
||||
setup_toolchain host
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
. config/options $1
|
||||
|
||||
$SCRIPTS/build m4
|
||||
$SCRIPTS/build libtool
|
||||
$SCRIPTS/build libtool-host
|
||||
|
||||
setup_toolchain host
|
||||
|
||||
|
22
packages/toolchain/devel/autotools/libtool-host/build
Executable file
22
packages/toolchain/devel/autotools/libtool-host/build
Executable file
@ -0,0 +1,22 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options $1
|
||||
|
||||
$SCRIPTS/unpack libtool
|
||||
|
||||
setup_toolchain host
|
||||
|
||||
cd $BUILD/libtool*
|
||||
|
||||
mkdir -p .objdir-host
|
||||
cd .objdir-host
|
||||
|
||||
../configure --host=$HOST_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--target=$TARGET_NAME \
|
||||
--prefix=$ROOT/$TOOLCHAIN \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
|
||||
make
|
||||
make install
|
@ -1,17 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options $1
|
||||
|
||||
setup_toolchain host
|
||||
|
||||
cd $PKG_BUILD
|
||||
./configure --host=$HOST_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--target=$TARGET_NAME \
|
||||
--prefix=$ROOT/$TOOLCHAIN \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
|
||||
make
|
||||
make install
|
||||
make prefix=$SYSROOT_PREFIX/usr install
|
Loading…
x
Reference in New Issue
Block a user