diff options
| author | ryo <ryo@NetBSD.org> | 2021-11-25 03:08:03 +0000 |
|---|---|---|
| committer | ryo <ryo@NetBSD.org> | 2021-11-25 03:08:03 +0000 |
| commit | 172281034fb9508dbffcabf787097cd4cb73031d (patch) | |
| tree | 0cdb2b955215a20d79c8727e09f5080615856883 /sys/modules/compat_linux32 | |
| parent | 527e592f4c1b061d03489e0d4bd5015b14ade55a (diff) | |
add support COMPAT_LINUX32 for aarch64
Diffstat (limited to 'sys/modules/compat_linux32')
| -rw-r--r-- | sys/modules/compat_linux32/Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/modules/compat_linux32/Makefile b/sys/modules/compat_linux32/Makefile index dbc9a02016f..ea2b32d9c5a 100644 --- a/sys/modules/compat_linux32/Makefile +++ b/sys/modules/compat_linux32/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2019/02/17 04:05:45 rin Exp $ +# $NetBSD: Makefile,v 1.10 2021/11/25 03:08:05 ryo Exp $ .include "../Makefile.inc" .include "../Makefile.assym" @@ -17,6 +17,18 @@ SRCS+= linux32_socket.c linux32_socketcall.c linux32_stat.c linux32_sysctl.c SRCS+= linux32_sysinfo.c linux32_termios.c linux32_time.c SRCS+= linux32_unistd.c linux32_utsname.c linux32_wait.c +.if ${MACHINE_ARCH} == "aarch64" +CPPFLAGS+= -DEXEC_ELF32 +.PATH: ${S}/compat/linux32/arch/aarch64 +SRCS+= linux32_exec_machdep.c linux32_ipccall.c linux32_machdep.c +SRCS+= linux32_missing.c linux32_sigcode.S linux32_syscalls.c linux32_sysent.c +SRCS+= linux32_uid16.c +.PATH: ${S}/arch/aarch64/aarch64 +SRCS+= linux32_syscall.c +.PATH: ${S}/compat/linux/common +SRCS+= linux_exec_elf32.c +.endif + .if ${MACHINE_ARCH} == "x86_64" CPPFLAGS+= -DEXEC_ELF32 -DLINUX32_DEBUGLINK_SIGNATURE .PATH: ${S}/compat/linux32/arch/amd64 |
