mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
eggdbus:
- split in host and target
This commit is contained in:
parent
404481c3f1
commit
6dd76d030d
24
packages/test/eggdbus-host/build
Executable file
24
packages/test/eggdbus-host/build
Executable file
@ -0,0 +1,24 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
$SCRIPTS/unpack eggdbus
|
||||
$SCRIPTS/build glib-host
|
||||
$SCRIPTS/build dbus-host
|
||||
|
||||
EGGDBUS_DIR=`ls -d $BUILD/eggdbus-[0-9]*`
|
||||
|
||||
setup_toolchain host
|
||||
|
||||
cd $EGGDBUS_DIR
|
||||
mkdir -p .build-host
|
||||
|
||||
cd .build-host
|
||||
../configure --prefix=$ROOT/$TOOLCHAIN \
|
||||
--sysconfdir=$ROOT/$TOOLCHAIN/etc \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
|
||||
make
|
||||
make install
|
@ -3,21 +3,24 @@
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
$SCRIPTS/build eggdbus-host
|
||||
$SCRIPTS/build glib
|
||||
$SCRIPTS/build dbus
|
||||
$SCRIPTS/build dbus-glib
|
||||
|
||||
cd $PKG_BUILD
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--datadir=/usr/share \
|
||||
--localstatedir=/var \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
mkdir -p .build-target
|
||||
|
||||
setup_toolchain host
|
||||
make -C src/eggdbus eggdbus-binding-tool
|
||||
cd .build-target
|
||||
../configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--datadir=/usr/share \
|
||||
--localstatedir=/var \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
|
||||
make
|
||||
|
||||
$MAKEINSTALL
|
Loading…
x
Reference in New Issue
Block a user