PR For adding tar, lzma not needed since xz can emulate lzma. #13
8 changed files with 12 additions and 7 deletions
|
@ -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/
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
/bin/busybox --install
|
#/bin/busybox --install
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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=""
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue