added gzip toolchain build
This commit is contained in:
20
build.sh
20
build.sh
@@ -74,6 +74,9 @@ GAWK_URL=https://mirror.ufs.ac.za/gnu/gawk/gawk-$GAWK_VERSION.tar.xz
|
||||
GREP_VERSION=3.12
|
||||
GREP_URL=https://mirror.ufs.ac.za/gnu/grep/grep-$GREP_VERSION.tar.xz
|
||||
|
||||
GZIP_VERSION=1.14
|
||||
GZIP_URL=https://mirror.ufs.ac.za/gnu/gzip/gzip-$GZIP_VERSION.tar.xz
|
||||
|
||||
MAKE_VERSION=4.4.1
|
||||
MAKE_URL=https://mirror.ufs.ac.za/gnu/make/make-$MAKE_VERSION.tar.gz
|
||||
|
||||
@@ -411,6 +414,20 @@ toolchain_grep() {
|
||||
cd "$SOURCES" && rm -rf grep-$GREP_VERSION
|
||||
}
|
||||
|
||||
toolchain_gzip() {
|
||||
fetch $GZIP_URL
|
||||
|
||||
cd "$SOURCES" && tar xf gzip-$GZIP_VERSION.tar.xz && cd gzip-$GZIP_VERSION
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--host=$TARGET
|
||||
|
||||
make && make DESTDIR="$SYSROOT" install
|
||||
|
||||
cd "$SOURCES" && rm -rf gzip-$GZIP_VERSION
|
||||
}
|
||||
|
||||
toolchain_make() {
|
||||
fetch $MAKE_URL
|
||||
|
||||
@@ -440,4 +457,5 @@ toolchain_make() {
|
||||
#toolchain_findutils
|
||||
#toolchain_gawk
|
||||
#toolchain_grep
|
||||
toolchain_make
|
||||
toolchain_gzip
|
||||
#toolchain_make
|
||||
Reference in New Issue
Block a user