libtool: simplyfing build, move to autotools metapackage, some cleanups

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-06-27 00:22:50 +02:00
parent 53937ae27c
commit 28f229ca78
3 changed files with 17 additions and 37 deletions

View File

@ -0,0 +1,17 @@
#!/bin/sh
. config/options
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

View File

@ -1,37 +0,0 @@
#!/bin/sh
. config/options
# build for host
setup_toolchain host
cd $BUILD/$1*
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
cd $ROOT
# build for target
setup_toolchain target
cd $BUILD/$1*
mkdir -p .objdir-target
cd .objdir-target
../configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=$SYSROOT_PREFIX/usr \
--enable-shared \
--disable-static \
make
make install