mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
expat:
- split in host and target
This commit is contained in:
parent
f61cd3668e
commit
d131d6c4d7
17
packages/textproc/expat-host/build
Executable file
17
packages/textproc/expat-host/build
Executable file
@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
$SCRIPTS/unpack expat
|
||||||
|
|
||||||
|
setup_toolchain host
|
||||||
|
|
||||||
|
cd $BUILD/expat-*
|
||||||
|
mkdir -p .build-host
|
||||||
|
|
||||||
|
cd .build-host
|
||||||
|
../configure --prefix=$ROOT/$TOOLCHAIN \
|
||||||
|
|
||||||
|
make
|
||||||
|
make install
|
@ -5,7 +5,10 @@
|
|||||||
$SCRIPTS/build toolchain
|
$SCRIPTS/build toolchain
|
||||||
|
|
||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
./configure --host=$TARGET_NAME \
|
mkdir -p .build-target
|
||||||
|
|
||||||
|
cd .build-target
|
||||||
|
../configure --host=$TARGET_NAME \
|
||||||
--build=$HOST_NAME \
|
--build=$HOST_NAME \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
@ -13,6 +16,6 @@ cd $PKG_BUILD
|
|||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
|
|
||||||
$MAKE
|
make
|
||||||
|
|
||||||
$MAKEINSTALL
|
$MAKEINSTALL
|
||||||
|
@ -3,4 +3,4 @@
|
|||||||
. config/options
|
. config/options
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
mkdir -p $INSTALL/usr/lib
|
||||||
cp -PR $PKG_BUILD/.libs/libexpat.so* $INSTALL/usr/lib
|
cp -PR $PKG_BUILD/.build-target/.libs/libexpat.so* $INSTALL/usr/lib
|
||||||
|
Loading…
x
Reference in New Issue
Block a user