Fix too long of compile times????

This commit is contained in:
Ohio2 2021-07-08 17:28:30 +02:00
parent ec08254c76
commit 2842b749e6
8 changed files with 12 additions and 7 deletions

View file

@ -4,3 +4,8 @@ cd busybox-1.33.1
make defconfig make defconfig
LDFLAGS="--static" make LDFLAGS="--static" make
make install DESTDIR="$1" make install DESTDIR="$1"
cd "_install"
install linuxrc "$1"/linuxrc
rsync -a ./bin/ "$1"/bin/
rsync -a ./sbin/ "$1"/sbin/
rsync -a ./usr "$1"/usr/

View file

@ -1 +1 @@
/bin/busybox --install #/bin/busybox --install

View file

@ -12,7 +12,7 @@ sed -i 's/lib64/lib/' gcc/gcc/config/i386/linux64.h
mkdir build mkdir build
cd build cd build
../configure --prefix=/usr --enable-languages=c,c++,d,fortran,go,objc,obj-c++ ../configure --prefix=/usr --enable-languages=c,c++,d,fortran,go,objc,obj-c++
make make -j`nproc`
make install DESTDIR="$1" make install DESTDIR="$1"
ln -s gcc "$1/usr/bin/cc" ln -s gcc "$1/usr/bin/cc"
echo "#!/bin/sh" > "$1"/usr/bin/c99 echo "#!/bin/sh" > "$1"/usr/bin/c99

View file

@ -4,5 +4,5 @@ cd glibc-2.33
mkdir build mkdir build
cd build cd build
../configure --prefix=/usr ../configure --prefix=/usr
make make -j`nproc`
make install DESTDIR="$1" make install DESTDIR="$1"

View file

@ -1,5 +1,5 @@
wget https://ftp.gnu.org/gnu/make/make-4.3.tar.gz wget https://ftp.gnu.org/gnu/make/make-4.3.tar.gz
untar -xf make-4.3.tar.gz tar -xf make-4.3.tar.gz
cd make-4.3 cd make-4.3
export CFLAGS="$CFLAGS -static" export CFLAGS="$CFLAGS -static"
./configure --prefix=/usr ./configure --prefix=/usr

View file

@ -1,5 +1,5 @@
pkg_config_deploy="true" pkg_config_deploy="true"
pkg_config_ver="0.1" pkg_config_ver="4.3"
pkg_config_name="make" pkg_config_name="make"
pkg_config_makedepends="" pkg_config_makedepends=""
pkg_config_depends="" pkg_config_depends=""

View file

@ -3,5 +3,5 @@ tar -xf openssl-3.0.0-beta1.tar.gz
cd openssl-3.0.0-beta1 cd openssl-3.0.0-beta1
chmod +x ./config chmod +x ./config
./config --prefix="/usr" ./config --prefix="/usr"
make make -j`nproc`
make install DESTDIR="$1" make install DESTDIR="$1"

View file

@ -2,6 +2,6 @@ wget https://zlib.net/zlib-1.2.11.tar.gz
tar -xf zlib-1.2.11.tar.gz tar -xf zlib-1.2.11.tar.gz
cd zlib-1.2.11 cd zlib-1.2.11
export CFLAGS="$CFLAGS -fPIC" export CFLAGS="$CFLAGS -fPIC"
./configure --prefix="$1" --lib-dir="/usr/lib" --shared ./configure --prefix="$1" --shared
make make
make install DESTDIR="$1" make install DESTDIR="$1"