- downgrade to ppl-0.10.2
- add LDFLAGS to link against libs in $ROOT/$TOOLCHAIN/lib
- build as shared lib
This commit is contained in:
Stephan Raue 2010-03-31 12:30:48 +02:00
parent e0970f26bd
commit 1394188245
2 changed files with 5 additions and 13 deletions

View File

@ -12,25 +12,17 @@ cd $BUILD/$1*
mkdir -p objdir
cd objdir
LDFLAGS="-Wl,-rpath,$ROOT/$TOOLCHAIN/lib" \
../configure --host=$HOST_NAME \
--build=$HOST_NAME \
--target=$TARGET_NAME \
--prefix=$ROOT/$TOOLCHAIN \
--disable-shared \
--enable-static \
--enable-shared \
--disable-static \
--enable-interfaces="c,cxx" \
--disable-optimization \
--with-libgmp-prefix="$ROOT/$TOOLCHAIN" \
--with-libgmpxx-prefix="$ROOT/$TOOLCHAIN" \
make
mkdir -p $ROOT/$TOOLCHAIN/lib
cp -PR interfaces/C/.libs/libppl_c.a $ROOT/$TOOLCHAIN/lib
cp -PR src/.libs/libppl.a $ROOT/$TOOLCHAIN/lib
cp -PR Watchdog/src/.libs/libpwl.a $ROOT/$TOOLCHAIN/lib
mkdir -p $ROOT/$TOOLCHAIN/include
cp -PR interfaces/C/ppl_c.h $ROOT/$TOOLCHAIN/include
cp -PR src/ppl.hh $ROOT/$TOOLCHAIN/include
cp -PR Watchdog/src/pwl.hh $ROOT/$TOOLCHAIN/include
make install

View File

@ -1 +1 @@
http://sources.openelec.tv/svn/ppl-20100220.tar.bz2
http://www.cs.unipr.it/ppl/Download/ftp/releases/0.10.2/ppl-0.10.2.tar.bz2