Source-Changes-HG archive

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

[src/trunk]: src Build and install compat_aoutm68k.kmod and exec_aout.kmod on...



details:   https://anonhg.NetBSD.org/src/rev/f47bf97bb93d
branches:  trunk
changeset: 758043:f47bf97bb93d
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Oct 15 12:20:33 2010 +0000

description:
Build and install compat_aoutm68k.kmod and exec_aout.kmod on m68k machines.

diffstat:

 distrib/sets/lists/modules/ad.m68k |   6 +++++-
 sys/modules/Makefile               |  15 +++++++++++++--
 2 files changed, 18 insertions(+), 3 deletions(-)

diffs (54 lines):

diff -r 6f0fa65bd22f -r f47bf97bb93d distrib/sets/lists/modules/ad.m68k
--- a/distrib/sets/lists/modules/ad.m68k        Fri Oct 15 11:22:01 2010 +0000
+++ b/distrib/sets/lists/modules/ad.m68k        Fri Oct 15 12:20:33 2010 +0000
@@ -1,3 +1,7 @@
-# $NetBSD: ad.m68k,v 1.1 2009/09/07 02:27:29 jnemeth Exp $
+# $NetBSD: ad.m68k,v 1.2 2010/10/15 12:20:33 tsutsui Exp $
+./@MODULEDIR@/compat_aoutm68k                  base-kernel-modules     kmod
+./@MODULEDIR@/compat_aoutm68k/compat_aoutm68k.kmod base-kernel-modules kmod
+./@MODULEDIR@/exec_aout                                base-kernel-modules     kmod
+./@MODULEDIR@/exec_aout/exec_aout.kmod         base-kernel-modules     kmod
 ./@MODULEDIR@/exec_elf32                       base-kernel-modules     kmod
 ./@MODULEDIR@/exec_elf32/exec_elf32.kmod       base-kernel-modules     kmod
diff -r 6f0fa65bd22f -r f47bf97bb93d sys/modules/Makefile
--- a/sys/modules/Makefile      Fri Oct 15 11:22:01 2010 +0000
+++ b/sys/modules/Makefile      Fri Oct 15 12:20:33 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.46 2010/05/31 20:32:29 pgoyette Exp $
+#      $NetBSD: Makefile,v 1.47 2010/10/15 12:20:33 tsutsui Exp $
 
 .include <bsd.own.mk>
 
@@ -68,6 +68,11 @@
 .endif
 
 # Machine dependent section
+.if ${MACHINE_ARCH} == "i386" || \
+    ${MACHINE_ARCH} == "m68k"
+SUBDIR+=       exec_aout
+.endif
+
 .if ${MACHINE_ARCH} != "alpha"
 SUBDIR+=       exec_elf32
 .endif
@@ -106,13 +111,19 @@
 SUBDIR+=       compat_linux
 SUBDIR+=       compat_svr4
 SUBDIR+=       drm
-SUBDIR+=       exec_aout
 SUBDIR+=       i915drm
 SUBDIR+=       radeondrm
 SUBDIR+=       viadrm
 SUBDIR+=       pad
 .endif
 
+.if ${MACHINE_ARCH} == "m68k"
+SUBDIR+=       compat_aoutm68k
+#SUBDIR+=      compat_linux
+#SUBDIR+=      compat_sunos
+#SUBDIR+=      compat_svr4
+.endif
+
 .include <bsd.own.mk>
 
 # we need our device mapper for LVM



Home | Main Index | Thread Index | Old Index