mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
Add linaro gcc for compiling on host on aarch64
This commit is contained in:
@@ -122,6 +122,17 @@ if [ -n "${DISTRO_DEPS_PKG}" ] ; then
|
||||
deps_pkg+=(${DISTRO_DEPS_PKG})
|
||||
fi
|
||||
|
||||
# aarch64 dependencies
|
||||
if [ "$(uname -m)" = "aarch64" ]; then
|
||||
if [ ! -f /lib64/ld-linux-x86-64.so.2 -a ! -f /lib/x86_64-linux-gnu/libc.so.6 ]; then
|
||||
printf "Copy from a working x86_64 system:\n\t/lib64/libc.so.6\n\t/lib/x86_64-linux-gnu/libc.so.6\n"
|
||||
fi
|
||||
files+=(/lib64/ld-linux-x86-64.so.2 /lib/x86_64-linux-gnu/libc.so.6)
|
||||
files_pkg+=(libc6:amd64 libc6:amd64)
|
||||
deps+=(qemu-x86_64)
|
||||
deps_pkg+=(qemu-user-binfmt)
|
||||
fi
|
||||
|
||||
get_deps
|
||||
|
||||
if [ "${#need[@]}" -gt 0 ]; then
|
||||
|
||||
Reference in New Issue
Block a user