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. --- chapter5/glibc.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'chapter5/glibc.sh') diff --git a/chapter5/glibc.sh b/chapter5/glibc.sh index edab0d3..df39bc9 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 @@ -6,6 +7,9 @@ case $(uname -m) in x86_64) ln -sfv ../lib/ld-linux-x86-64.so.2 "${LFS}"/lib64 ln -sfv ../lib/ld-linux-x86-64.so.2 "${LFS}"/lib64/ld-lsb-x86-64.so.3 ;; + aarch64) ln -sfv ../lib/ld-linux-aarch64.so.1 "${LFS}"/lib64 + ln -sfv ../lib/ld-linux-aarch64.so.1 "${LFS}"/lib64/ld-lsb-aarch64.so.3 + ;; esac patch -Np1 -i ../glibc-"${VERSION}"-fhs-1.patch && -- cgit v1.2.3-54-g00ecf