mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
m4: simplyfing build, move to autotools metapackage, some cleanups
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
28f229ca78
commit
8851134c0d
16
packages/toolchain/devel/autotools/m4/build
Executable file
16
packages/toolchain/devel/autotools/m4/build
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
setup_toolchain host
|
||||
|
||||
cd $PKG_BUILD
|
||||
gl_cv_func_gettimeofday_clobber=no \
|
||||
./configure --host=$HOST_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--target=$TARGET_NAME \
|
||||
--prefix=$ROOT/$TOOLCHAIN \
|
||||
|
||||
make
|
||||
make install
|
||||
make prefix=$SYSROOT_PREFIX/usr install
|
@ -1,36 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
# build for host
|
||||
setup_toolchain host
|
||||
|
||||
cd $BUILD/$1*
|
||||
mkdir -p .objdir-host
|
||||
cd .objdir-host
|
||||
|
||||
gl_cv_func_gettimeofday_clobber=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
|
||||
|
||||
gl_cv_func_gettimeofday_clobber=no \
|
||||
../configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=$SYSROOT_PREFIX/usr \
|
||||
|
||||
make
|
||||
make install
|
Loading…
x
Reference in New Issue
Block a user