Module Name: src
Committed By: matt
Date: Sun May 10 06:33:28 UTC 2015
Modified Files:
src/sys/modules/compat_netbsd32: Makefile
Log Message:
mips doesn't do a.out and never has.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/modules/compat_netbsd32/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/modules/compat_netbsd32/Makefile
diff -u src/sys/modules/compat_netbsd32/Makefile:1.12 src/sys/modules/compat_netbsd32/Makefile:1.13
--- src/sys/modules/compat_netbsd32/Makefile:1.12 Fri Dec 5 22:22:21 2014
+++ src/sys/modules/compat_netbsd32/Makefile Sun May 10 06:33:28 2015
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2014/12/05 22:22:21 christos Exp $
+# $NetBSD: Makefile,v 1.13 2015/05/10 06:33:28 matt Exp $
.include "../Makefile.inc"
.include "../Makefile.assym"
@@ -19,7 +19,7 @@ CPPFLAGS+= -DCOMPAT_30 -DCOMPAT_40 -DCOM
CPPFLAGS+= -DCOMPAT_60 -DCOMPAT_70 -DCOMPAT_80
CPPFLAGS+= -DCOMPAT_43
CPPFLAGS+= -DSYSVSHM -DSYSVSEM -DSYSVMSG -DCOMPAT_NETBSD32
-CPPFLAGS+= -DEXEC_ELF32 -DEXEC_ELF64 -DEXEC_AOUT -DCOMPAT_NOMID
+CPPFLAGS+= -DEXEC_ELF32 -DEXEC_ELF64
CPPFLAGS+= -DCOREDUMP -DNTP
.PATH: ${S}/compat/netbsd32
@@ -29,7 +29,7 @@ SRCS+= netbsd32_compat_14.c netbsd32_com
SRCS+= netbsd32_compat_30.c netbsd32_compat_43.c
SRCS+= netbsd32_compat_50.c netbsd32_compat_60.c
SRCS+= netbsd32_core.c netbsd32_event.c
-SRCS+= netbsd32_exec_aout.c netbsd32_exec_elf32.c
+SRCS+= netbsd32_exec_elf32.c
SRCS+= netbsd32_execve.c netbsd32_fs.c
SRCS+= netbsd32_ioctl.c netbsd32_ipc.c
SRCS+= netbsd32_lwp.c netbsd32_netbsd.c
@@ -40,6 +40,11 @@ SRCS+= netbsd32_sysctl.c netbsd32_sysent
SRCS+= netbsd32_time.c netbsd32_wait.c
SRCS+= netbsd32_mod.c
+.if ${MACHINE_CPU} != "mips" && ${MACHINE_CPU} != "powerpc"
+CPPFLAGS+= -DEXEC_AOUT -DCOMPAT_NOMID
+SRCS+= netbsd32_exec_aout.c
+.endif
+
.if ${MACHINE_ARCH} == "x86_64"
.PATH: ${S}/arch/amd64/amd64
SRCS+= netbsd32_machdep.c netbsd32_sigcode.S netbsd32_syscall.c