From 2842b749e64fb408a69bd7a6325e92a677f7bc18 Mon Sep 17 00:00:00 2001 From: Ohio2 Date: Thu, 8 Jul 2021 17:28:30 +0200 Subject: [PATCH] Fix too long of compile times???? --- busybox/build | 5 +++++ busybox/postdeploy | 2 +- gcc/build | 2 +- glibc/build | 2 +- make/build | 2 +- make/package | 2 +- openssl/build | 2 +- zlib/build | 2 +- 8 files changed, 12 insertions(+), 7 deletions(-) diff --git a/busybox/build b/busybox/build index c767c18..6b82ef8 100755 --- a/busybox/build +++ b/busybox/build @@ -4,3 +4,8 @@ cd busybox-1.33.1 make defconfig LDFLAGS="--static" make 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/ diff --git a/busybox/postdeploy b/busybox/postdeploy index 0e7b6d5..611d550 100755 --- a/busybox/postdeploy +++ b/busybox/postdeploy @@ -1 +1 @@ -/bin/busybox --install \ No newline at end of file +#/bin/busybox --install diff --git a/gcc/build b/gcc/build index c505b68..a31e584 100755 --- a/gcc/build +++ b/gcc/build @@ -12,7 +12,7 @@ sed -i 's/lib64/lib/' gcc/gcc/config/i386/linux64.h mkdir build cd build ../configure --prefix=/usr --enable-languages=c,c++,d,fortran,go,objc,obj-c++ -make +make -j`nproc` make install DESTDIR="$1" ln -s gcc "$1/usr/bin/cc" echo "#!/bin/sh" > "$1"/usr/bin/c99 diff --git a/glibc/build b/glibc/build index 84f735f..1c5d63a 100755 --- a/glibc/build +++ b/glibc/build @@ -4,5 +4,5 @@ cd glibc-2.33 mkdir build cd build ../configure --prefix=/usr -make +make -j`nproc` make install DESTDIR="$1" diff --git a/make/build b/make/build index a92247b..d0139f8 100755 --- a/make/build +++ b/make/build @@ -1,5 +1,5 @@ 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 export CFLAGS="$CFLAGS -static" ./configure --prefix=/usr diff --git a/make/package b/make/package index 312bbcd..77cba1e 100755 --- a/make/package +++ b/make/package @@ -1,5 +1,5 @@ pkg_config_deploy="true" -pkg_config_ver="0.1" +pkg_config_ver="4.3" pkg_config_name="make" pkg_config_makedepends="" pkg_config_depends="" diff --git a/openssl/build b/openssl/build index 58b6a71..37f98ee 100755 --- a/openssl/build +++ b/openssl/build @@ -3,5 +3,5 @@ tar -xf openssl-3.0.0-beta1.tar.gz cd openssl-3.0.0-beta1 chmod +x ./config ./config --prefix="/usr" -make +make -j`nproc` make install DESTDIR="$1" diff --git a/zlib/build b/zlib/build index 00d106a..6ce6c40 100755 --- a/zlib/build +++ b/zlib/build @@ -2,6 +2,6 @@ wget https://zlib.net/zlib-1.2.11.tar.gz tar -xf zlib-1.2.11.tar.gz cd zlib-1.2.11 export CFLAGS="$CFLAGS -fPIC" -./configure --prefix="$1" --lib-dir="/usr/lib" --shared +./configure --prefix="$1" --shared make make install DESTDIR="$1"