Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/modules/compat_netbsd32 mips doesn't do a.out and never ...



details:   https://anonhg.NetBSD.org/src/rev/512650b73484
branches:  trunk
changeset: 338095:512650b73484
user:      matt <matt%NetBSD.org@localhost>
date:      Sun May 10 06:33:28 2015 +0000

description:
mips doesn't do a.out and never has.

diffstat:

 sys/modules/compat_netbsd32/Makefile |  11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diffs (39 lines):

diff -r 0a6b6ab19893 -r 512650b73484 sys/modules/compat_netbsd32/Makefile
--- a/sys/modules/compat_netbsd32/Makefile      Sat May 09 23:29:51 2015 +0000
+++ b/sys/modules/compat_netbsd32/Makefile      Sun May 10 06:33:28 2015 +0000
@@ -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_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_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_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



Home | Main Index | Thread Index | Old Index