Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Add build glue for coretemp(4).
details: https://anonhg.NetBSD.org/src/rev/d2966af0022a
branches: trunk
changeset: 762398:d2966af0022a
user: jruoho <jruoho%NetBSD.org@localhost>
date: Sun Feb 20 13:48:25 2011 +0000
description:
Add build glue for coretemp(4).
diffstat:
distrib/sets/lists/modules/md.amd64 | 4 +++-
distrib/sets/lists/modules/md.i386 | 4 +++-
sys/modules/Makefile | 3 ++-
sys/modules/coretemp/Makefile | 13 +++++++++++++
sys/modules/coretemp/coretemp.ioconf | 10 ++++++++++
5 files changed, 31 insertions(+), 3 deletions(-)
diffs (84 lines):
diff -r 59840c1f0db0 -r d2966af0022a distrib/sets/lists/modules/md.amd64
--- a/distrib/sets/lists/modules/md.amd64 Sun Feb 20 13:42:45 2011 +0000
+++ b/distrib/sets/lists/modules/md.amd64 Sun Feb 20 13:48:25 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.amd64,v 1.15 2011/02/20 08:37:50 jruoho Exp $
+# $NetBSD: md.amd64,v 1.16 2011/02/20 13:48:25 jruoho Exp $
./@MODULEDIR@/acpiacad base-kernel-modules kmod
./@MODULEDIR@/acpiacad/acpiacad.kmod base-kernel-modules kmod
./@MODULEDIR@/acpibat base-kernel-modules kmod
@@ -41,6 +41,8 @@
./@MODULEDIR@/compat_linux32/compat_linux32.kmod base-kernel-modules kmod
./@MODULEDIR@/compat_netbsd32 base-kernel-modules kmod
./@MODULEDIR@/compat_netbsd32/compat_netbsd32.kmod base-kernel-modules kmod
+./@MODULEDIR@/coretemp base-kernel-modules kmod
+./@MODULEDIR@/coretemp/coretemp.kmod base-kernel-modules kmod
./@MODULEDIR@/drm base-kernel-modules kmod
./@MODULEDIR@/drm/drm.kmod base-kernel-modules kmod
./@MODULEDIR@/exec_elf32 base-kernel-modules kmod
diff -r 59840c1f0db0 -r d2966af0022a distrib/sets/lists/modules/md.i386
--- a/distrib/sets/lists/modules/md.i386 Sun Feb 20 13:42:45 2011 +0000
+++ b/distrib/sets/lists/modules/md.i386 Sun Feb 20 13:48:25 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.i386,v 1.18 2011/02/20 08:40:24 jruoho Exp $
+# $NetBSD: md.i386,v 1.19 2011/02/20 13:48:25 jruoho Exp $
./@MODULEDIR@/acpiacad base-kernel-modules kmod
./@MODULEDIR@/acpiacad/acpiacad.kmod base-kernel-modules kmod
./@MODULEDIR@/acpibat base-kernel-modules kmod
@@ -43,6 +43,8 @@
./@MODULEDIR@/compat_linux/compat_linux.kmod base-kernel-modules kmod
./@MODULEDIR@/compat_svr4 base-kernel-modules kmod
./@MODULEDIR@/compat_svr4/compat_svr4.kmod base-kernel-modules kmod
+./@MODULEDIR@/coretemp base-kernel-modules kmod
+./@MODULEDIR@/coretemp/coretemp.kmod base-kernel-modules kmod
./@MODULEDIR@/drm base-kernel-modules kmod
./@MODULEDIR@/drm/drm.kmod base-kernel-modules kmod
./@MODULEDIR@/exec_aout base-kernel-modules kmod
diff -r 59840c1f0db0 -r d2966af0022a sys/modules/Makefile
--- a/sys/modules/Makefile Sun Feb 20 13:42:45 2011 +0000
+++ b/sys/modules/Makefile Sun Feb 20 13:48:25 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.63 2011/02/20 08:37:50 jruoho Exp $
+# $NetBSD: Makefile,v 1.64 2011/02/20 13:48:26 jruoho Exp $
.include <bsd.own.mk>
@@ -86,6 +86,7 @@
.if ${MACHINE_ARCH} == "i386" || \
${MACHINE_ARCH} == "x86_64"
+SUBDIR+= coretemp
SUBDIR+= tprof_pmi
#SUBDIR+= tprof_amdpmi
.endif
diff -r 59840c1f0db0 -r d2966af0022a sys/modules/coretemp/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/coretemp/Makefile Sun Feb 20 13:48:25 2011 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1 2011/02/20 13:48:26 jruoho Exp $
+
+.include "../Makefile.inc"
+
+.PATH: ${S}/arch/x86/x86
+
+KMOD= coretemp
+IOCONF= coretemp.ioconf
+SRCS= coretemp.c
+
+WARNS= 4
+
+.include <bsd.kmodule.mk>
diff -r 59840c1f0db0 -r d2966af0022a sys/modules/coretemp/coretemp.ioconf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/coretemp/coretemp.ioconf Sun Feb 20 13:48:25 2011 +0000
@@ -0,0 +1,10 @@
+# $NetBSD: coretemp.ioconf,v 1.1 2011/02/20 13:48:26 jruoho Exp $
+
+ioconf coretemp
+
+include "conf/files"
+include "arch/x86/conf/files.x86"
+
+pseudo-root cpufeaturebus*
+
+coretemp* at cpufeaturebus?
Home |
Main Index |
Thread Index |
Old Index