summaryrefslogtreecommitdiff
path: root/sys/modules/compat_linux
diff options
context:
space:
mode:
authorad <ad@NetBSD.org>2008-11-20 09:26:06 +0000
committerad <ad@NetBSD.org>2008-11-20 09:26:06 +0000
commit1ab7ca8fdc36a19543ee4fa9270f4c6d84a3dc36 (patch)
tree985a4cb03223e201ffe2ad9dee7e8dbdd0c02b30 /sys/modules/compat_linux
parent11c98a4abf6f2209d335f2f6b29f5f6aaded1ed5 (diff)
PR port-amd64/39964 modules/compat_linux: missing symbols on amd64
Diffstat (limited to 'sys/modules/compat_linux')
-rw-r--r--sys/modules/compat_linux/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/modules/compat_linux/Makefile b/sys/modules/compat_linux/Makefile
index a50d5fd33f2..ea2c48cb7ca 100644
--- a/sys/modules/compat_linux/Makefile
+++ b/sys/modules/compat_linux/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2008/11/19 18:36:08 ad Exp $
+# $NetBSD: Makefile,v 1.2 2008/11/20 09:26:06 ad Exp $
.include "../Makefile.inc"
.include "../Makefile.assym"
@@ -14,7 +14,7 @@ SRCS+= linux_ipc.c linux_misc.c linux_mtio.c linux_sched.c
SRCS+= linux_sg.c linux_signal.c linux_signo.c linux_socket.c
SRCS+= linux_sysctl.c linux_termios.c linux_time.c linux_mod.c
-.if ${MACHINE} == "i386"
+.if ${MACHINE_ARCH} == "i386"
CPPFLAGS+= -DEXEC_ELF32 -DEXEC_AOUT
.PATH: ${S}/arch/i386/i386
.PATH: ${S}/compat/linux/arch/i386
@@ -25,13 +25,13 @@ SRCS+= linux_exec_aout.c linux_sigcode.S linux_syscall.c linux_trap.c
SRCS+= linux_uselib.c
.endif
-.if ${MACHINE} == "x86_64"
+.if ${MACHINE_ARCH} == "x86_64"
CPPFLAGS+= -DEXEC_ELF64
.PATH: ${S}/compat/linux/arch/amd64
.PATH: ${S}/arch/amd64/amd64
.PATH: ${S}/arch/x86/x86
SRCS+= linux_machdep.c linux_syscalls.c linux_sysent.c linux_commons.c
-SRCS+= linux_ptrace.c linux_exec_machdep.c linux_support.S linux_exec_elf64.c
+SRCS+= linux_exec_machdep.c linux_support.S linux_exec_elf64.c
SRCS+= linux_sigcode.S linux_syscall.c linux_trap.c
.endif