aboutsummaryrefslogtreecommitdiffstats
path: root/chapter5
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-04-13 12:59:10 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-04-13 12:59:10 -0500
commite07be520145730eb14cef2845c7d906298cdf1b7 (patch)
tree5363b966b871ad109abe7712560203d0f855762a /chapter5
parentd2455629f6b713773331645dfe932d6a52cb758b (diff)
Add set -e to top of scripts and remove space between -j and value in MAKEFLAGS.
Diffstat (limited to 'chapter5')
-rw-r--r--chapter5/binutils.sh1
-rw-r--r--chapter5/gcc.sh1
-rw-r--r--chapter5/glibc.sh1
-rw-r--r--chapter5/libstdc++.sh1
-rw-r--r--chapter5/linux-api-headers.sh1
5 files changed, 5 insertions, 0 deletions
diff --git a/chapter5/binutils.sh b/chapter5/binutils.sh
index 2d9da5b..5176d0c 100644
--- a/chapter5/binutils.sh
+++ b/chapter5/binutils.sh
@@ -1,4 +1,5 @@
#!/bin/bash
+set -e
mkdir build
cd build || exit 1
diff --git a/chapter5/gcc.sh b/chapter5/gcc.sh
index 52079a4..84879c5 100644
--- a/chapter5/gcc.sh
+++ b/chapter5/gcc.sh
@@ -1,4 +1,5 @@
#!/bin/bash
+set -e
mkdir -p mpfr gmp mpc
tar -xf ../mpfr-*.tar.xz -C mpfr --strip-components=1
diff --git a/chapter5/glibc.sh b/chapter5/glibc.sh
index edab0d3..7f52023 100644
--- a/chapter5/glibc.sh
+++ b/chapter5/glibc.sh
@@ -1,4 +1,5 @@
#!/bin/bash
+set -e
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 d1be7dd..d8cb707 100644
--- a/chapter5/libstdc++.sh
+++ b/chapter5/libstdc++.sh
@@ -1,4 +1,5 @@
#!/bin/bash
+set -e
mkdir -v build
cd build || exit 1
diff --git a/chapter5/linux-api-headers.sh b/chapter5/linux-api-headers.sh
index 3111625..41d7cfc 100644
--- a/chapter5/linux-api-headers.sh
+++ b/chapter5/linux-api-headers.sh
@@ -1,4 +1,5 @@
#!/bin/bash
+set -e
make mrproper &&
make headers &&