2010-02-02 15:21:12 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
|
|
. config/options
|
|
|
|
|
|
|
|
|
|
$SCRIPTS/build toolchain
|
|
|
|
|
$SCRIPTS/build Python
|
|
|
|
|
$SCRIPTS/build dbus
|
2010-04-14 21:14:27 +02:00
|
|
|
$SCRIPTS/build dbus-glib
|
2010-02-02 15:21:12 +01:00
|
|
|
|
|
|
|
|
. config/options.python
|
|
|
|
|
|
2010-05-30 22:39:08 +02:00
|
|
|
# dbus-python fails to compile with GCC 4.5.0's link time optimization.
|
|
|
|
|
CFLAGS=`echo $CFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||" -e "s|-fwhole-program||"`
|
|
|
|
|
CXXFLAGS=`echo $CXXFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||" -e "s|-fwhole-program||"`
|
|
|
|
|
LDFLAGS=`echo $LDFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||" -e "s|-fwhole-program||"`
|
|
|
|
|
|
2010-02-02 15:21:12 +01:00
|
|
|
cd $PKG_BUILD
|
|
|
|
|
|
|
|
|
|
./configure --host=$TARGET_NAME \
|
|
|
|
|
--build=$HOST_NAME \
|
|
|
|
|
--prefix=/usr \
|
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
|
--disable-static \
|
|
|
|
|
--enable-shared \
|
|
|
|
|
--enable-thread
|
|
|
|
|
|
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
$MAKEINSTALL
|
|
|
|
|
|
|
|
|
|
$PYTHON -Wi -t $PYTHON_LIBDIR/compileall.py .
|