mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +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
|
. config/options
|
||||||
|
|
||||||
$SCRIPTS/build toolchain
|
$SCRIPTS/build toolchain
|
||||||
|
$SCRIPTS/build eggdbus-host
|
||||||
$SCRIPTS/build glib
|
$SCRIPTS/build glib
|
||||||
$SCRIPTS/build dbus
|
$SCRIPTS/build dbus
|
||||||
$SCRIPTS/build dbus-glib
|
$SCRIPTS/build dbus-glib
|
||||||
|
|
||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
./configure --host=$TARGET_NAME \
|
mkdir -p .build-target
|
||||||
--build=$HOST_NAME \
|
|
||||||
--prefix=/usr \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--datadir=/usr/share \
|
|
||||||
--localstatedir=/var \
|
|
||||||
--disable-static \
|
|
||||||
--enable-shared \
|
|
||||||
|
|
||||||
setup_toolchain host
|
cd .build-target
|
||||||
make -C src/eggdbus eggdbus-binding-tool
|
../configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--datadir=/usr/share \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--disable-static \
|
||||||
|
--enable-shared \
|
||||||
|
|
||||||
|
make
|
||||||
|
|
||||||
$MAKEINSTALL
|
$MAKEINSTALL
|
Loading…
x
Reference in New Issue
Block a user