From ca7ec24a78f9bd8824da23be1c24a98a3c764f5f Mon Sep 17 00:00:00 2001 From: William Harrington Date: Mon, 19 Apr 2021 02:01:33 +0000 Subject: Make adjustments for Odroid N2+ aarch64 build. --- chapter8/binutils.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'chapter8/binutils.sh') diff --git a/chapter8/binutils.sh b/chapter8/binutils.sh index e3fe6c5..43bf03b 100644 --- a/chapter8/binutils.sh +++ b/chapter8/binutils.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -e expect -c "spawn ls" @@ -16,7 +17,8 @@ cd build || exit 1 --enable-64-bit-bfd \ --with-system-zlib && -make tooldir=/usr && +make tooldir=/usr \ + "$([ "$(uname -m)" = aarch64 ] && echo -j5)" && make tooldir=/usr -j1 install && -- cgit v1.2.3-54-g00ecf