Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib Use a new variable, MODULEVER, for kernel modules, t...
details: https://anonhg.NetBSD.org/src/rev/a5c38964d647
branches: trunk
changeset: 777383:a5c38964d647
user: riz <riz%NetBSD.org@localhost>
date: Fri Feb 17 00:33:24 2012 +0000
description:
Use a new variable, MODULEVER, for kernel modules, tracking what's been
done elsewhere.
diffstat:
distrib/amd64/kmod/Makefile | 4 ++--
distrib/common/Makefile.distrib | 3 ++-
distrib/i386/kmod/Makefile | 4 ++--
3 files changed, 6 insertions(+), 5 deletions(-)
diffs (53 lines):
diff -r 12ee1be3ad3a -r a5c38964d647 distrib/amd64/kmod/Makefile
--- a/distrib/amd64/kmod/Makefile Fri Feb 17 00:00:39 2012 +0000
+++ b/distrib/amd64/kmod/Makefile Fri Feb 17 00:33:24 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2011/01/18 00:22:56 jym Exp $
+# $NetBSD: Makefile,v 1.2 2012/02/17 00:33:24 riz Exp $
.include <bsd.own.mk>
.include "../../common/Makefile.distrib"
@@ -6,7 +6,7 @@
MKMAN= no
PROG= miniroot.kmod
-SRCMOD= ${DESTDIR}/stand/${MACHINE}/${DISTRIBVER}/modules/miniroot/miniroot.kmod
+SRCMOD= ${DESTDIR}/stand/${MACHINE}/${MODULEVER}/modules/miniroot/miniroot.kmod
DSTMOD= ${.OBJDIR}/miniroot.kmod
RAMDISK= ramdisk
RAMDISKDIR!= cd ${.CURDIR}/../ramdisks/${RAMDISK} && ${PRINTOBJDIR}
diff -r 12ee1be3ad3a -r a5c38964d647 distrib/common/Makefile.distrib
--- a/distrib/common/Makefile.distrib Fri Feb 17 00:00:39 2012 +0000
+++ b/distrib/common/Makefile.distrib Fri Feb 17 00:33:24 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.distrib,v 1.8 2010/02/07 18:50:49 snj Exp $
+# $NetBSD: Makefile.distrib,v 1.9 2012/02/17 00:33:25 riz Exp $
#
# Makefile snippet to setup various make variables variables used in distrib/:
#
@@ -22,6 +22,7 @@
DISTRIBDIR= ${NETBSDSRCDIR}/distrib
DISTRIBREV!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh -s
DISTRIBVER!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh
+MODULEVER!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh -k
DISTRIBVERDEP= ${NETBSDSRCDIR}/sys/sys/param.h \
${NETBSDSRCDIR}/sys/conf/osrelease.sh
diff -r 12ee1be3ad3a -r a5c38964d647 distrib/i386/kmod/Makefile
--- a/distrib/i386/kmod/Makefile Fri Feb 17 00:00:39 2012 +0000
+++ b/distrib/i386/kmod/Makefile Fri Feb 17 00:33:24 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2009/04/03 22:36:35 perry Exp $
+# $NetBSD: Makefile,v 1.11 2012/02/17 00:33:25 riz Exp $
.include <bsd.own.mk>
.include "../../common/Makefile.distrib"
@@ -6,7 +6,7 @@
MKMAN= no
PROG= miniroot.kmod
-SRCMOD= ${DESTDIR}/stand/${MACHINE}/${DISTRIBVER}/modules/miniroot/miniroot.kmod
+SRCMOD= ${DESTDIR}/stand/${MACHINE}/${MODULEVER}/modules/miniroot/miniroot.kmod
DSTMOD= ${.OBJDIR}/miniroot.kmod
RAMDISK= ramdisk-big
RAMDISKDIR!= cd ${.CURDIR}/../ramdisks/${RAMDISK} && ${PRINTOBJDIR}
Home |
Main Index |
Thread Index |
Old Index