mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +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,14 +5,17 @@
|
||||
$SCRIPTS/build toolchain
|
||||
|
||||
cd $PKG_BUILD
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
mkdir -p .build-target
|
||||
|
||||
$MAKE
|
||||
cd .build-target
|
||||
../configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
|
||||
make
|
||||
|
||||
$MAKEINSTALL
|
||||
|
@ -3,4 +3,4 @@
|
||||
. config/options
|
||||
|
||||
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