From 4f800deb2c41fb8f5056a24e87210da7e5c639a1 Mon Sep 17 00:00:00 2001 From: Ian Leonard Date: Sat, 23 Jan 2021 21:41:22 +0000 Subject: [PATCH] checkdeps: add qemu-user as req for native aarch64 Amlogic builds Signed-off-by: Ian Leonard --- scripts/checkdeps | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/checkdeps b/scripts/checkdeps index 2b1d142b03..f2471ae479 100755 --- a/scripts/checkdeps +++ b/scripts/checkdeps @@ -93,8 +93,8 @@ perl_map=( ### PROJECT SPECIFIC REQUIREMENTS ### # Extend build scripts to look for distro/project/device checkdep scripts before adding further checks here -# Native aarch64 on debian(?) host Rockchip needs to support rkbin -if [ "$(uname -m)" = "aarch64" -a "${PROJECT}" = "Rockchip" ]; then +# Native aarch64 on debian host needs to support rkbin (Rockchip) and aml_encrypt_* (Amlogic) +if [ "$(uname -m)" = "aarch64" ] && [ "${PROJECT}" = "Rockchip" -o "${PROJECT}" = "Amlogic" ]; then dep_map[qemu-x86_64]=qemu-user-binfmt if [ ! -f /lib64/ld-linux-x86-64.so.2 -o ! -f /lib/x86_64-linux-gnu/libc.so.6 ]; then echo -e "Copy from a working x86_64 system:\n\t/lib64/ld-linux-x86-64.so.2\n\t/lib/x86_64-linux-gnu/libc.so.6"