Source-Changes-HG archive

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

[src/trunk]: src some platforms don't have bus_dma, so only build these modul...



details:   https://anonhg.NetBSD.org/src/rev/8efed1bad2f4
branches:  trunk
changeset: 760156:8efed1bad2f4
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Wed Dec 29 13:05:42 2010 +0000

description:
some platforms don't have bus_dma, so only build these modules on x86

diffstat:

 distrib/sets/lists/modules/md.amd64 |   8 +++++++-
 distrib/sets/lists/modules/md.i386  |   8 +++++++-
 distrib/sets/lists/modules/mi       |   8 +-------
 sys/modules/Makefile                |  12 ++++++++----
 4 files changed, 23 insertions(+), 13 deletions(-)

diffs (120 lines):

diff -r 22dbe95fa0f0 -r 8efed1bad2f4 distrib/sets/lists/modules/md.amd64
--- a/distrib/sets/lists/modules/md.amd64       Wed Dec 29 10:39:27 2010 +0000
+++ b/distrib/sets/lists/modules/md.amd64       Wed Dec 29 13:05:42 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.amd64,v 1.8 2010/10/26 05:36:49 jruoho Exp $
+# $NetBSD: md.amd64,v 1.9 2010/12/29 13:05:42 jmcneill Exp $
 ./@MODULEDIR@/acpiacad                         base-kernel-modules     kmod
 ./@MODULEDIR@/acpiacad/acpiacad.kmod           base-kernel-modules     kmod
 ./@MODULEDIR@/acpibat                          base-kernel-modules     kmod
@@ -23,6 +23,10 @@
 ./@MODULEDIR@/aibs/aibs.kmod                   base-kernel-modules     kmod
 ./@MODULEDIR@/asus                             base-kernel-modules     kmod
 ./@MODULEDIR@/asus/asus.kmod                   base-kernel-modules     kmod
+./@MODULEDIR@/au8522                           base-kernel-modules     kmod
+./@MODULEDIR@/au8522/au8522.kmod               base-kernel-modules     kmod
+./@MODULEDIR@/auvitek                          base-kernel-modules     kmod
+./@MODULEDIR@/auvitek/auvitek.kmod             base-kernel-modules     kmod
 ./@MODULEDIR@/azalia                           base-kernel-modules     kmod
 ./@MODULEDIR@/azalia/azalia.kmod               base-kernel-modules     kmod
 ./@MODULEDIR@/compat_linux                     base-kernel-modules     kmod
@@ -53,3 +57,5 @@
 ./@MODULEDIR@/wmihp/wmihp.kmod                 base-kernel-modules     kmod
 ./@MODULEDIR@/wmimsi                           base-kernel-modules     kmod
 ./@MODULEDIR@/wmimsi/wmimsi.kmod               base-kernel-modules     kmod
+./@MODULEDIR@/xc5k                             base-kernel-modules     kmod
+./@MODULEDIR@/xc5k/xc5k.kmod                   base-kernel-modules     kmod
diff -r 22dbe95fa0f0 -r 8efed1bad2f4 distrib/sets/lists/modules/md.i386
--- a/distrib/sets/lists/modules/md.i386        Wed Dec 29 10:39:27 2010 +0000
+++ b/distrib/sets/lists/modules/md.i386        Wed Dec 29 13:05:42 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.i386,v 1.9 2010/10/26 05:36:49 jruoho Exp $
+# $NetBSD: md.i386,v 1.10 2010/12/29 13:05:42 jmcneill Exp $
 ./@MODULEDIR@/acpiacad                         base-kernel-modules     kmod
 ./@MODULEDIR@/acpiacad/acpiacad.kmod           base-kernel-modules     kmod
 ./@MODULEDIR@/acpibat                          base-kernel-modules     kmod
@@ -23,6 +23,10 @@
 ./@MODULEDIR@/aibs/aibs.kmod                   base-kernel-modules     kmod
 ./@MODULEDIR@/asus                             base-kernel-modules     kmod
 ./@MODULEDIR@/asus/asus.kmod                   base-kernel-modules     kmod
+./@MODULEDIR@/au8522                           base-kernel-modules     kmod
+./@MODULEDIR@/au8522/au8522.kmod               base-kernel-modules     kmod
+./@MODULEDIR@/auvitek                          base-kernel-modules     kmod
+./@MODULEDIR@/auvitek/auvitek.kmod             base-kernel-modules     kmod
 ./@MODULEDIR@/azalia                           base-kernel-modules     kmod
 ./@MODULEDIR@/azalia/azalia.kmod               base-kernel-modules     kmod
 ./@MODULEDIR@/compat_freebsd                   base-kernel-modules     kmod
@@ -59,3 +63,5 @@
 ./@MODULEDIR@/wmihp/wmihp.kmod                 base-kernel-modules     kmod
 ./@MODULEDIR@/wmimsi                           base-kernel-modules     kmod
 ./@MODULEDIR@/wmimsi/wmimsi.kmod               base-kernel-modules     kmod
+./@MODULEDIR@/xc5k                             base-kernel-modules     kmod
+./@MODULEDIR@/xc5k/xc5k.kmod                   base-kernel-modules     kmod
diff -r 22dbe95fa0f0 -r 8efed1bad2f4 distrib/sets/lists/modules/mi
--- a/distrib/sets/lists/modules/mi     Wed Dec 29 10:39:27 2010 +0000
+++ b/distrib/sets/lists/modules/mi     Wed Dec 29 13:05:42 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.19 2010/12/27 15:48:28 jmcneill Exp $
+# $NetBSD: mi,v 1.20 2010/12/29 13:05:42 jmcneill Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -14,10 +14,6 @@
 ./@MODULEDIR@/adosfs/adosfs.kmod               base-kernel-modules     kmod
 ./@MODULEDIR@/aio                              base-kernel-modules     kmod
 ./@MODULEDIR@/aio/aio.kmod                     base-kernel-modules     kmod
-./@MODULEDIR@/au8522                           base-kernel-modules     kmod
-./@MODULEDIR@/au8522/au8522.kmod               base-kernel-modules     kmod
-./@MODULEDIR@/auvitek                          base-kernel-modules     kmod
-./@MODULEDIR@/auvitek/auvitek.kmod             base-kernel-modules     kmod
 ./@MODULEDIR@/bpf                              base-kernel-modules     kmod
 ./@MODULEDIR@/bpf/bpf.kmod                     base-kernel-modules     kmod
 ./@MODULEDIR@/cd9660                           base-kernel-modules     kmod
@@ -138,7 +134,5 @@
 ./@MODULEDIR@/usbverbose/usbverbose.kmod       base-kernel-modules     kmod
 ./@MODULEDIR@/vnd                              base-kernel-modules     kmod
 ./@MODULEDIR@/vnd/vnd.kmod                     base-kernel-modules     kmod
-./@MODULEDIR@/xc5k                             base-kernel-modules     kmod
-./@MODULEDIR@/xc5k/xc5k.kmod                   base-kernel-modules     kmod
 ./@MODULEDIR@/zfs                              base-kernel-modules     kmod,zfs
 ./@MODULEDIR@/zfs/zfs.kmod                     base-kernel-modules     kmod,zfs
diff -r 22dbe95fa0f0 -r 8efed1bad2f4 sys/modules/Makefile
--- a/sys/modules/Makefile      Wed Dec 29 10:39:27 2010 +0000
+++ b/sys/modules/Makefile      Wed Dec 29 13:05:42 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.55 2010/12/27 15:48:28 jmcneill Exp $
+#      $NetBSD: Makefile,v 1.56 2010/12/29 13:05:42 jmcneill Exp $
 
 .include <bsd.own.mk>
 
@@ -8,8 +8,6 @@
 SUBDIR+=       accf_httpready
 SUBDIR+=       adosfs
 SUBDIR+=       aio
-SUBDIR+=       au8522
-SUBDIR+=       auvitek
 SUBDIR+=       bpf
 SUBDIR+=       cd9660
 SUBDIR+=       coda
@@ -62,7 +60,6 @@
 SUBDIR+=       union
 SUBDIR+=       usbverbose
 SUBDIR+=       vnd
-SUBDIR+=       xc5k
 SUBDIR+=       tprof
 .if (defined(NOTYET))
 SUBDIR+=       unionfs
@@ -141,6 +138,13 @@
 SUBDIR+=       pad
 .endif
 
+.if ${MACHINE_ARCH} == "i386" || \
+    ${MACHINE_ARCH} == "x86_64"
+SUBDIR+=       au8522
+SUBDIR+=       auvitek
+SUBDIR+=       xc5k
+.endif
+
 .if ${MACHINE_CPU} == "m68k"
 SUBDIR+=       compat_aoutm68k
 #SUBDIR+=      compat_linux



Home | Main Index | Thread Index | Old Index