mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 15:07:49 +00:00
autoconf: simplyfing build, move to autotools metapackage, some cleanups
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
d181f26c62
commit
21b9324561
@ -1,43 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
. config/options
|
|
||||||
|
|
||||||
$SCRIPTS/build m4
|
|
||||||
$SCRIPTS/build libtool
|
|
||||||
|
|
||||||
# build for host
|
|
||||||
setup_toolchain host
|
|
||||||
|
|
||||||
cd $BUILD/$1*
|
|
||||||
mkdir -p .objdir-host
|
|
||||||
cd .objdir-host
|
|
||||||
|
|
||||||
EMACS="no" \
|
|
||||||
ac_cv_path_M4=$ROOT/$TOOLCHAIN/bin/m4 \
|
|
||||||
ac_cv_prog_gnu_m4_gnu=no \
|
|
||||||
../configure --host=$HOST_NAME \
|
|
||||||
--build=$HOST_NAME \
|
|
||||||
--target=$TARGET_NAME \
|
|
||||||
--prefix=$ROOT/$TOOLCHAIN \
|
|
||||||
|
|
||||||
make
|
|
||||||
make install
|
|
||||||
|
|
||||||
cd $ROOT
|
|
||||||
|
|
||||||
# build for target
|
|
||||||
setup_toolchain target
|
|
||||||
|
|
||||||
cd $BUILD/$1*
|
|
||||||
mkdir -p .objdir-target
|
|
||||||
cd .objdir-target
|
|
||||||
|
|
||||||
EMACS="no" \
|
|
||||||
ac_cv_path_M4=$ROOT/$TOOLCHAIN/bin/m4 \
|
|
||||||
ac_cv_prog_gnu_m4_gnu=no \
|
|
||||||
../configure --host=$TARGET_NAME \
|
|
||||||
--build=$HOST_NAME \
|
|
||||||
--prefix=$SYSROOT_PREFIX/usr \
|
|
||||||
|
|
||||||
make
|
|
||||||
make install
|
|
21
packages/toolchain/devel/autotools/autoconf/build
Executable file
21
packages/toolchain/devel/autotools/autoconf/build
Executable file
@ -0,0 +1,21 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
$SCRIPTS/build m4
|
||||||
|
$SCRIPTS/build libtool
|
||||||
|
|
||||||
|
setup_toolchain host
|
||||||
|
|
||||||
|
cd $BUILD/autoconf-2.65
|
||||||
|
EMACS="no" \
|
||||||
|
ac_cv_path_M4=$ROOT/$TOOLCHAIN/bin/m4 \
|
||||||
|
ac_cv_prog_gnu_m4_gnu=no \
|
||||||
|
./configure --host=$HOST_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--target=$TARGET_NAME \
|
||||||
|
--prefix=$ROOT/$TOOLCHAIN \
|
||||||
|
|
||||||
|
make
|
||||||
|
make install
|
||||||
|
make prefix=$SYSROOT_PREFIX/usr install
|
Loading…
x
Reference in New Issue
Block a user