Source-Changes-HG archive

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

[src/trunk]: src build acpiwmi as a module on x86



details:   https://anonhg.NetBSD.org/src/rev/4947af016fc3
branches:  trunk
changeset: 758181:4947af016fc3
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Oct 24 18:29:33 2010 +0000

description:
build acpiwmi as a module on x86

diffstat:

 distrib/sets/lists/modules/md.amd64 |   4 +++-
 distrib/sets/lists/modules/md.i386  |   4 +++-
 sys/modules/Makefile                |   3 ++-
 sys/modules/acpiwmi/Makefile        |  10 ++++++++++
 4 files changed, 18 insertions(+), 3 deletions(-)

diffs (57 lines):

diff -r 8b24cba39215 -r 4947af016fc3 distrib/sets/lists/modules/md.amd64
--- a/distrib/sets/lists/modules/md.amd64       Sun Oct 24 18:26:29 2010 +0000
+++ b/distrib/sets/lists/modules/md.amd64       Sun Oct 24 18:29:33 2010 +0000
@@ -1,6 +1,8 @@
-# $NetBSD: md.amd64,v 1.4 2010/10/24 16:31:35 jmcneill Exp $
+# $NetBSD: md.amd64,v 1.5 2010/10/24 18:29:33 jmcneill Exp $
 ./@MODULEDIR@/acpiverbose                      base-kernel-modules     kmod
 ./@MODULEDIR@/acpiverbose/acpiverbose.kmod     base-kernel-modules     kmod
+./@MODULEDIR@/acpiwmi                          base-kernel-modules     kmod
+./@MODULEDIR@/acpiwmi/acpiwmi.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
diff -r 8b24cba39215 -r 4947af016fc3 distrib/sets/lists/modules/md.i386
--- a/distrib/sets/lists/modules/md.i386        Sun Oct 24 18:26:29 2010 +0000
+++ b/distrib/sets/lists/modules/md.i386        Sun Oct 24 18:29:33 2010 +0000
@@ -1,6 +1,8 @@
-# $NetBSD: md.i386,v 1.5 2010/10/24 16:31:35 jmcneill Exp $
+# $NetBSD: md.i386,v 1.6 2010/10/24 18:29:33 jmcneill Exp $
 ./@MODULEDIR@/acpiverbose                      base-kernel-modules     kmod
 ./@MODULEDIR@/acpiverbose/acpiverbose.kmod     base-kernel-modules     kmod
+./@MODULEDIR@/acpiwmi                          base-kernel-modules     kmod
+./@MODULEDIR@/acpiwmi/acpiwmi.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
diff -r 8b24cba39215 -r 4947af016fc3 sys/modules/Makefile
--- a/sys/modules/Makefile      Sun Oct 24 18:26:29 2010 +0000
+++ b/sys/modules/Makefile      Sun Oct 24 18:29:33 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.50 2010/10/24 16:31:35 jmcneill Exp $
+#      $NetBSD: Makefile,v 1.51 2010/10/24 18:29:33 jmcneill Exp $
 
 .include <bsd.own.mk>
 
@@ -97,6 +97,7 @@
 
 .if ${MACHINE_ARCH} == "i386" || \
     ${MACHINE_ARCH} == "x86_64"
+SUBDIR+=       acpiwmi
 SUBDIR+=       wmidell
 SUBDIR+=       wmihp
 SUBDIR+=       wmimsi
diff -r 8b24cba39215 -r 4947af016fc3 sys/modules/acpiwmi/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/acpiwmi/Makefile      Sun Oct 24 18:29:33 2010 +0000
@@ -0,0 +1,10 @@
+# $NetBSD: Makefile,v 1.1 2010/10/24 18:29:33 jmcneill Exp $
+
+.include "../Makefile.inc"
+
+.PATH: ${S}/dev/acpi/wmi
+
+KMOD=   acpiwmi
+SRCS=  wmi_acpi.c
+
+.include <bsd.kmodule.mk>



Home | Main Index | Thread Index | Old Index