mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
config/functions: cleanup
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
7bc50b4959
commit
72c0a6b974
@ -115,22 +115,44 @@ add_group() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
do_autoreconf() {
|
do_autoreconf() {
|
||||||
if [ -e $ROOT/$TOOLCHAIN/bin/autoreconf ] &&
|
export ACLOCAL_DIR=$SYSROOT_PREFIX/usr/share/aclocal
|
||||||
[ -e $ROOT/$TOOLCHAIN/bin/autoconf ] &&
|
|
||||||
[ -e $ROOT/$TOOLCHAIN/bin/automake ] &&
|
|
||||||
[ -e $ROOT/$TOOLCHAIN/bin/libtoolize ] &&
|
|
||||||
[ -e $ROOT/$TOOLCHAIN/bin/intltoolize ]; then
|
|
||||||
export LIBTOOL=$ROOT/$TOOLCHAIN/bin/libtool
|
|
||||||
export LIBTOOLIZE=$ROOT/$TOOLCHAIN/bin/libtoolize
|
|
||||||
export AUTOMAKE=$ROOT/$TOOLCHAIN/bin/automake
|
|
||||||
export ACLOCAL_DIR=$SYSROOT_PREFIX/usr/share/aclocal
|
|
||||||
export ACLOCAL="$ROOT/$TOOLCHAIN/bin/aclocal -I $ACLOCAL_DIR"
|
|
||||||
export AUTOCONF=$ROOT/$TOOLCHAIN/bin/autoconf
|
|
||||||
export AUTOHEADER=$ROOT/$TOOLCHAIN/bin/autoheader
|
|
||||||
export AUTORECONF="$ROOT/$TOOLCHAIN/bin/autoreconf -v -f -i -I $ACLOCAL_DIR"
|
|
||||||
|
|
||||||
mkdir -p $ACLOCAL_DIR
|
if [ -e $ROOT/$TOOLCHAIN/bin/autoconf ]; then
|
||||||
autoreconf --force --install -I $ACLOCAL_DIR $@
|
export AUTOCONF=$ROOT/$TOOLCHAIN/bin/autoconf
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -e $ROOT/$TOOLCHAIN/bin/automake ]; then
|
||||||
|
export AUTOMAKE=$ROOT/$TOOLCHAIN/bin/automake
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -e $ROOT/$TOOLCHAIN/bin/autopoint ]; then
|
||||||
|
export AUTOPOINT=$ROOT/$TOOLCHAIN/bin/autopoint
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -e $ROOT/$TOOLCHAIN/bin/libtoolize ]; then
|
||||||
|
export LIBTOOLIZE=$ROOT/$TOOLCHAIN/bin/libtoolize
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -e $ROOT/$TOOLCHAIN/bin/intltoolize ]; then
|
||||||
|
export INTLTOOLIZE=$ROOT/$TOOLCHAIN/bin/intltoolize
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -e $ROOT/$TOOLCHAIN/bin/aclocal ]; then
|
||||||
|
export ACLOCAL="$ROOT/$TOOLCHAIN/bin/aclocal -I $ACLOCAL_DIR"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -e $ROOT/$TOOLCHAIN/bin/autoheader ]; then
|
||||||
|
export AUTOHEADER=$ROOT/$TOOLCHAIN/bin/autoheader
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -e $ROOT/$TOOLCHAIN/bin/libtool ]; then
|
||||||
|
export LIBTOOL=$ROOT/$TOOLCHAIN/bin/libtool
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -e $ROOT/$TOOLCHAIN/bin/autoreconf -a -e $INTLTOOLIZE ]; then
|
||||||
|
mkdir -p $ACLOCAL_DIR
|
||||||
|
export AUTORECONF="$ROOT/$TOOLCHAIN/bin/autoreconf --verbose --force --install -I $ACLOCAL_DIR"
|
||||||
|
$AUTORECONF $@
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user