Hi, @balbes150
I want to use dkms to build the kernel modules I need. However, there is a problem with the linux-headers-aml-g12 package (at least for Debian Buster), where for some reason the scripts are built for x86_64.
root@aml:~# file /usr/src/linux-headers-5.3.0-rc6-aml-g12/scripts/mod/modpost
/usr/src/linux-headers-5.3.0-rc6-aml-g12/scripts/mod/modpost: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=37623a5bbaf64b5e167da1f3a2cf2e0e3aade20f, for GNU/Linux 3.2.0, not stripped
Actually, there are 15 files in scripts directory with x86-64 arch (find /usr/src/linux-headers-5.3.0-rc6-aml-g12/scripts/ -name '*'|xargs file|grep x86-64).
Could you please compile the scripts for the aarch64 architecture and rebuild this package?