diff options
Diffstat (limited to 'chapter5')
-rw-r--r-- | chapter5/binutils.sh | 4 | ||||
-rw-r--r-- | chapter5/gcc.sh | 4 | ||||
-rw-r--r-- | chapter5/glibc.sh | 2 | ||||
-rw-r--r-- | chapter5/libstdc++.sh | 4 | ||||
-rw-r--r-- | chapter5/linux-api-headers.sh | 4 |
5 files changed, 4 insertions, 14 deletions
diff --git a/chapter5/binutils.sh b/chapter5/binutils.sh index 68da871..c77a576 100644 --- a/chapter5/binutils.sh +++ b/chapter5/binutils.sh @@ -1,5 +1,3 @@ -#!/bin/bash - mkdir build cd build @@ -9,4 +7,4 @@ cd build --disable-nls \ --disable-werror && make && -make -j1 install
\ No newline at end of file +make -j1 install diff --git a/chapter5/gcc.sh b/chapter5/gcc.sh index c5404d1..6ef4ac6 100644 --- a/chapter5/gcc.sh +++ b/chapter5/gcc.sh @@ -1,5 +1,3 @@ -#!/bin/bash - mkdir -p mpfr gmp mpc tar -xf ../mpfr-*.tar.xz -C mpfr --strip-components=1 tar -xf ../gmp-*.tar.xz -C gmp --strip-components=1 @@ -41,4 +39,4 @@ make -j1 install && cd .. cat gcc/limitx.h gcc/glimits.h gcc/limity.h > \ - `dirname $(${LFS_TGT}-gcc -print-libgcc-file-name)`/install-tools/include/limits.h
\ No newline at end of file + `dirname $(${LFS_TGT}-gcc -print-libgcc-file-name)`/install-tools/include/limits.h diff --git a/chapter5/glibc.sh b/chapter5/glibc.sh index 38e7ebc..875e633 100644 --- a/chapter5/glibc.sh +++ b/chapter5/glibc.sh @@ -1,5 +1,3 @@ -#!/bin/bash - case $(uname -m) in i?86) ln -sfv ld-linux.so.2 ${LFS}/lib/ld-lsb.so.3 ;; diff --git a/chapter5/libstdc++.sh b/chapter5/libstdc++.sh index 73380a8..1e21f35 100644 --- a/chapter5/libstdc++.sh +++ b/chapter5/libstdc++.sh @@ -1,5 +1,3 @@ -#!/bin/bash - mkdir -v build cd build @@ -13,4 +11,4 @@ cd build --with-gxx-include-dir=/tools/${LFS_TGT}/include/c++/${VERSION} && make && -make -j1 DESTDIR=${LFS} install
\ No newline at end of file +make -j1 DESTDIR=${LFS} install diff --git a/chapter5/linux-api-headers.sh b/chapter5/linux-api-headers.sh index 30383a8..3de6e81 100644 --- a/chapter5/linux-api-headers.sh +++ b/chapter5/linux-api-headers.sh @@ -1,7 +1,5 @@ -#!/bin/bash - make mrproper && make headers && find usr/include -name '.*' -delete && rm usr/include/Makefile && -cp -rv usr/include ${LFS}/usr
\ No newline at end of file +cp -rv usr/include ${LFS}/usr |