mirror of
https://github.com/luisgbm/lfs-scripts.git
synced 2026-03-10 04:41:10 +00:00
Update lfs-cross.sh
This commit is contained in:
parent
b5c078a5c9
commit
00d9d0aa2f
1 changed files with 21 additions and 21 deletions
42
lfs-cross.sh
42
lfs-cross.sh
|
|
@ -58,7 +58,7 @@ cd build
|
||||||
../configure \
|
../configure \
|
||||||
--target=$LFS_TGT \
|
--target=$LFS_TGT \
|
||||||
--prefix=$LFS/tools \
|
--prefix=$LFS/tools \
|
||||||
--with-glibc-version=2.11 \
|
--with-glibc-version=2.35 \
|
||||||
--with-sysroot=$LFS \
|
--with-sysroot=$LFS \
|
||||||
--with-newlib \
|
--with-newlib \
|
||||||
--without-headers \
|
--without-headers \
|
||||||
|
|
@ -91,8 +91,8 @@ rm usr/include/Makefile
|
||||||
cp -rv usr/include $LFS/usr
|
cp -rv usr/include $LFS/usr
|
||||||
finish
|
finish
|
||||||
|
|
||||||
# 5.5. Glibc-2.34
|
# 5.5. Glibc-2.35
|
||||||
begin glibc-2.34 tar.xz
|
begin glibc-2.35 tar.xz
|
||||||
case $(uname -m) in
|
case $(uname -m) in
|
||||||
i?86) ln -sfv ld-linux.so.2 $LFS/lib/ld-lsb.so.3
|
i?86) ln -sfv ld-linux.so.2 $LFS/lib/ld-lsb.so.3
|
||||||
;;
|
;;
|
||||||
|
|
@ -100,7 +100,7 @@ case $(uname -m) in
|
||||||
ln -sfv ../lib/ld-linux-x86-64.so.2 $LFS/lib64/ld-lsb-x86-64.so.3
|
ln -sfv ../lib/ld-linux-x86-64.so.2 $LFS/lib64/ld-lsb-x86-64.so.3
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
patch -Np1 -i ../glibc-2.34-fhs-1.patch
|
patch -Np1 -i ../glibc-2.35-fhs-1.patch
|
||||||
mkdir -v build
|
mkdir -v build
|
||||||
cd build
|
cd build
|
||||||
echo "rootsbindir=/usr/sbin" > configparms
|
echo "rootsbindir=/usr/sbin" > configparms
|
||||||
|
|
@ -146,8 +146,8 @@ make
|
||||||
make DESTDIR=$LFS install
|
make DESTDIR=$LFS install
|
||||||
finish
|
finish
|
||||||
|
|
||||||
# 6.3. Ncurses-6.2
|
# 6.3. Ncurses-6.3
|
||||||
begin ncurses-6.2 tar.gz
|
begin ncurses-6.3 tar.gz
|
||||||
sed -i s/mawk// configure
|
sed -i s/mawk// configure
|
||||||
mkdir build
|
mkdir build
|
||||||
pushd build
|
pushd build
|
||||||
|
|
@ -170,8 +170,8 @@ make DESTDIR=$LFS TIC_PATH=$(pwd)/build/progs/tic install
|
||||||
echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so
|
echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so
|
||||||
finish
|
finish
|
||||||
|
|
||||||
# 6.4. Bash-5.1.8
|
# 6.4. Bash-5.1.16
|
||||||
begin bash-5.1.8 tar.gz
|
begin bash-5.1.16 tar.gz
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--build=$(support/config.guess) \
|
--build=$(support/config.guess) \
|
||||||
--host=$LFS_TGT \
|
--host=$LFS_TGT \
|
||||||
|
|
@ -181,8 +181,8 @@ make DESTDIR=$LFS install
|
||||||
ln -sv bash $LFS/bin/sh
|
ln -sv bash $LFS/bin/sh
|
||||||
finish
|
finish
|
||||||
|
|
||||||
# 6.5. Coreutils-8.32
|
# 6.5. Coreutils-9.0
|
||||||
begin coreutils-8.32 tar.xz
|
begin coreutils-9.0 tar.xz
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--host=$LFS_TGT \
|
--host=$LFS_TGT \
|
||||||
--build=$(build-aux/config.guess) \
|
--build=$(build-aux/config.guess) \
|
||||||
|
|
@ -203,8 +203,8 @@ make
|
||||||
make DESTDIR=$LFS install
|
make DESTDIR=$LFS install
|
||||||
finish
|
finish
|
||||||
|
|
||||||
# 6.7. File-5.40
|
# 6.7. File-5.41
|
||||||
begin file-5.40 tar.gz
|
begin file-5.41 tar.gz
|
||||||
mkdir build
|
mkdir build
|
||||||
pushd build
|
pushd build
|
||||||
../configure --disable-bzlib \
|
../configure --disable-bzlib \
|
||||||
|
|
@ -218,8 +218,8 @@ make FILE_COMPILE=$(pwd)/build/src/file
|
||||||
make DESTDIR=$LFS install
|
make DESTDIR=$LFS install
|
||||||
finish
|
finish
|
||||||
|
|
||||||
# 6.8. Findutils-4.8.0
|
# 6.8. Findutils-4.9.0
|
||||||
begin findutils-4.8.0 tar.xz
|
begin findutils-4.9.0 tar.xz
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--localstatedir=/var/lib/locate \
|
--localstatedir=/var/lib/locate \
|
||||||
--host=$LFS_TGT \
|
--host=$LFS_TGT \
|
||||||
|
|
@ -228,8 +228,8 @@ make
|
||||||
make DESTDIR=$LFS install
|
make DESTDIR=$LFS install
|
||||||
finish
|
finish
|
||||||
|
|
||||||
# 6.9. Gawk-5.1.0
|
# 6.9. Gawk-5.1.1
|
||||||
begin gawk-5.1.0 tar.xz
|
begin gawk-5.1.1 tar.xz
|
||||||
sed -i 's/extras//' Makefile.in
|
sed -i 's/extras//' Makefile.in
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--host=$LFS_TGT \
|
--host=$LFS_TGT \
|
||||||
|
|
@ -246,8 +246,8 @@ make
|
||||||
make DESTDIR=$LFS install
|
make DESTDIR=$LFS install
|
||||||
finish
|
finish
|
||||||
|
|
||||||
# 6.11. Gzip-1.10
|
# 6.11. Gzip-1.11
|
||||||
begin gzip-1.10 tar.xz
|
begin gzip-1.11 tar.xz
|
||||||
./configure --prefix=/usr --host=$LFS_TGT
|
./configure --prefix=/usr --host=$LFS_TGT
|
||||||
make
|
make
|
||||||
make DESTDIR=$LFS install
|
make DESTDIR=$LFS install
|
||||||
|
|
@ -300,8 +300,8 @@ make
|
||||||
make DESTDIR=$LFS install
|
make DESTDIR=$LFS install
|
||||||
finish
|
finish
|
||||||
|
|
||||||
# 6.17. Binutils-2.37 - Pass 2
|
# 6.17. Binutils-2.38 - Pass 2
|
||||||
begin binutils-2.37 tar.xz
|
begin binutils-2.38 tar.xz
|
||||||
mkdir -v build
|
mkdir -v build
|
||||||
cd build
|
cd build
|
||||||
../configure \
|
../configure \
|
||||||
|
|
@ -314,7 +314,7 @@ cd build
|
||||||
--enable-64-bit-bfd
|
--enable-64-bit-bfd
|
||||||
make
|
make
|
||||||
make DESTDIR=$LFS install -j1
|
make DESTDIR=$LFS install -j1
|
||||||
install -vm755 libctf/.libs/libctf.so.0.0.0 $LFS/usr/lib
|
#install -vm755 libctf/.libs/libctf.so.0.0.0 $LFS/usr/lib
|
||||||
finish
|
finish
|
||||||
|
|
||||||
# 6.18. GCC-11.2.0 - Pass 2
|
# 6.18. GCC-11.2.0 - Pass 2
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue