checkdeps: add qemu-user as req for native aarch64 Amlogic builds

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
Ian Leonard 2021-01-23 21:41:22 +00:00
parent b438ee40c2
commit 4f800deb2c

View File

@ -93,8 +93,8 @@ perl_map=(
### PROJECT SPECIFIC REQUIREMENTS ### ### PROJECT SPECIFIC REQUIREMENTS ###
# Extend build scripts to look for distro/project/device checkdep scripts before adding further checks here # 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 # Native aarch64 on debian host needs to support rkbin (Rockchip) and aml_encrypt_* (Amlogic)
if [ "$(uname -m)" = "aarch64" -a "${PROJECT}" = "Rockchip" ]; then if [ "$(uname -m)" = "aarch64" ] && [ "${PROJECT}" = "Rockchip" -o "${PROJECT}" = "Amlogic" ]; then
dep_map[qemu-x86_64]=qemu-user-binfmt 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 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" 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"